Structure representing a CPE dictionary. More...
#include <cpedict.h>
Data Fields | |
| struct oscap_list * | items |
| char * | generator_product_name |
| char * | generator_product_version |
| char * | generator_schema_version |
| char * | generator_timestamp |
Related Functions | |
(Note that these are not member functions.) | |
| struct cpe_dict * | cpe_dict_new (const char *fname) |
| Load new CPE dictionary from file. | |
| struct cpe_dict * | cpe_dict_new_empty (void) |
| Create new empty CPE dictionary. | |
| bool | cpe_dict_add_item (struct cpe_dict *dict, struct cpe_dictitem *item) |
| Add item to dictionary dict. | |
| void | cpe_dict_free (struct cpe_dict *dict) |
| Frees CPE dictionary and its contents. | |
| struct cpe_dictitem_iterator * | cpe_dict_get_items (const struct cpe_dict *item) |
| Get an iterator to the dictionary contents. | |
| const char * | cpe_dict_get_generator_product_name (const struct cpe_dict *item) |
| Get name of a generator of the dictionary. | |
| const char * | cpe_dict_get_generator_product_version (const struct cpe_dict *item) |
| Get version of a generator of the dictionary. | |
| const char * | cpe_dict_get_generator_schema_version (const struct cpe_dict *item) |
| Get CPE dictionary schema version used to create this dictionary. | |
| const char * | cpe_dict_get_generator_timestamp (const struct cpe_dict *item) |
| Get timestamp of the dictionary creation. | |
| bool | cpe_name_match_dict (struct cpe_name *cpe, struct cpe_dict *dict) |
| Verify wether given CPE is known according to specified dictionary. | |
| bool | cpe_name_match_dict_str (const char *cpe, struct cpe_dict *dict) |
| Verify if CPE given by string is known according to specified dictionary. | |
Structure representing a CPE dictionary.
1.6.1