Structure representing single CPE dictionary item. More...
#include <cpedict_priv.h>
Public Member Functions | |
void | cpe_item_free (struct cpe_item *item) |
struct cpe_item * | cpe_item_new (void) |
Getters | |
struct cpe_name * | cpe_item_get_name (const struct cpe_item *item) |
cpe_item functions to get variable member name | |
struct cpe_name * | cpe_item_get_deprecated (const struct cpe_item *item) |
cpe_item functions to get variable member deprecated | |
const char * | cpe_item_get_deprecation_date (const struct cpe_item *item) |
cpe_item functions to get variable member date | |
struct cpe_item_metadata * | cpe_item_get_metadata (const struct cpe_item *item) |
cpe_item functions to get metadata of cpe_item | |
struct cpe_reference_iterator * | cpe_item_get_references (const struct cpe_item *item) |
cpe_item functions to get CPE references | |
struct cpe_check_iterator * | cpe_item_get_checks (const struct cpe_item *item) |
cpe_item functions to get CPE checks | |
struct oscap_text_iterator * | cpe_item_get_titles (const struct cpe_item *item) |
cpe_item functions to get CPE titles | |
struct oscap_text_iterator * | cpe_item_get_notes (const struct cpe_item *item) |
cpe_item functions to get CPE notes | |
Setters | |
bool | cpe_item_set_deprecation_date (struct cpe_item *item, const char *new_deprecation_date) |
bool | cpe_item_add_reference (struct cpe_item *item, struct cpe_reference *new_reference) |
bool | cpe_item_add_check (struct cpe_item *item, struct cpe_check *new_check) |
bool | cpe_item_add_title (struct cpe_item *item, struct oscap_text *new_title) |
bool | cpe_item_add_note (struct cpe_item *item, struct oscap_text *new_title) |
Iterators | |
void | cpe_item_iterator_remove (struct cpe_item_iterator *it) |
Data Fields | |
struct cpe_name * | name |
struct oscap_list * | titles |
struct cpe_name * | deprecated |
char * | deprecation_date |
struct oscap_list * | references |
struct oscap_list * | checks |
struct oscap_list * | notes |
struct cpe_item_metadata * | metadata |
Structure representing single CPE dictionary item.