Structure representing a CPE dictionary. More...
#include <cpedict_priv.h>
Data Fields | |
struct xml_metadata | xml |
struct oscap_list * | items |
struct oscap_list * | vendors |
struct cpe_generator * | generator |
Related Functions | |
(Note that these are not member functions.) | |
struct cpe_dict_model * | cpe_dict_model_parse_xml (const struct oscap_import_source *source) |
Function to parse XML to CPE dictionary model. | |
struct cpe_dict_model * | cpe_dict_model_parse (xmlTextReaderPtr reader) |
Load new CPE dictionary from XML node. | |
void | cpe_dict_model_export_xml (struct cpe_dict_model *dict, const struct oscap_export_target *target) |
Export function for CPE dictionary model. | |
void | cpe_dict_export (const struct cpe_dict_model *dict, xmlTextWriterPtr writer) |
Internal export function for CPE dictionary model. | |
void | cpe_dict_model_export (struct cpe_dict_model *dict, const struct oscap_export_target *target) |
Write the dict_model to a file. | |
struct cpe_item_iterator * | cpe_dict_model_get_items (const struct cpe_dict_model *item) |
cpe_dict_model functions to get CPE items | |
struct cpe_vendor_iterator * | cpe_dict_model_get_vendors (const struct cpe_dict_model *item) |
cpe_dict_model functions to get vendors | |
bool | cpe_name_match_dict_str (const char *cpe, struct cpe_dict_model *dict) |
Verify if CPE given by string is known according to specified dictionary. | |
void | cpe_dict_model_free (struct cpe_dict_model *dict) |
struct cpe_dict_model * | cpe_dict_model_new (void) |
bool | cpe_dict_model_add_vendor (struct cpe_dict_model *dict, struct cpe_vendor *new_vendor) |
Structure representing a CPE dictionary.