30 #ifndef CPEDICT_PRIV_H_
31 #define CPEDICT_PRIV_H_
33 #include <libxml/xmlreader.h>
34 #include <libxml/xmlwriter.h>
38 #include "cpe_ctx_priv.h"
41 #include "../common/public/oscap.h"
42 #include "../common/util.h"
43 #include "../common/elements.h"
struct cpe_dict_model * cpe_dict_model_parse(struct cpe_parser_ctx *ctx)
Load new CPE dictionary from XML node.
Definition: cpedict_priv.c:519
struct cpe_vendor * cpe_vendor_parse(xmlTextReaderPtr reader)
Parsing function to parse vendors of CPE dictionary.
Definition: cpedict_priv.c:863
Structure with information about document.
Definition: cpedict_priv.c:147
Interface to Common Platform Enumeration (CPE) Dictionary.
Structure with information about vendor.
Definition: cpe_dict.h:55
void cpe_vendor_export(const struct cpe_vendor *vendor, xmlTextWriterPtr writer)
Exporting function for CPE vendor.
Definition: cpedict_priv.c:1150
Definition: cpe_ctx_priv.c:35
void cpe_item_export(const struct cpe_item *item, xmlTextWriterPtr writer, int base_version)
Exporting function for CPE item.
Definition: cpedict_priv.c:1068
Interface to Common Platform Enumeration (CPE) URI.
void cpe_dict_model_export_xml(const struct cpe_dict_model *dict, const char *file)
Export function for CPE dictionary model.
Definition: cpedict_priv.c:962
void cpe_dict_export(const struct cpe_dict_model *dict, xmlTextWriterPtr writer)
Internal export function for CPE dictionary model.
Definition: cpedict_priv.c:989
struct cpe_generator * cpe_generator_parse(struct cpe_parser_ctx *ctx)
Parse generator part of CPE dictionary XML file.
Definition: cpedict_priv.c:608
Structure representing a CPE dictionary.
Definition: cpedict_priv.h:126
void cpe_generator_export(const struct cpe_generator *generator, xmlTextWriterPtr writer)
Exporting function for CPE generator - information of XML document.
Definition: cpedict_priv.c:1035
Structure representing single CPE dictionary item.
Definition: cpedict_priv.c:71
char * cpe_dict_detect_version_priv(xmlTextReader *reader)
Get a version info from xmlTextReader.
Definition: cpedict.c:212
struct cpe_item * cpe_item_parse(struct cpe_parser_ctx *ctx)
New dictionary item from XML.
Definition: cpedict_priv.c:665