Data Structures | |
struct | cpe_testexpr |
CPE language boolean expression. More... | |
struct | cpe_lang_model |
CPE platform specification. More... | |
struct | cpe_platform |
Single platform representation in CPE language. More... | |
Parse functions | |
Functions for parsing structures from XML. Return value is new structure filled by content of XML file represented by XML reader or import source structure. Structure needs to be freed by the caller. | |
struct cpe_lang_model * | cpe_lang_model::cpe_lang_model_parse_xml (const struct oscap_import_source *source) |
Function for parsing XML CPE language file. | |
struct cpe_lang_model * | cpe_lang_model::cpe_lang_model_parse (xmlTextReaderPtr reader) |
Parse function for CPE Lang model. | |
struct cpe_platform * | cpe_platform::cpe_platform_parse (xmlTextReaderPtr reader) |
Parse CPE platform structure. | |
struct cpe_testexpr * | cpe_testexpr::cpe_testexpr_parse (xmlTextReaderPtr reader) |
Parse CPE test expression structure. | |
Export functions | |
Functions for export structures to XML by XML writer. Exported structures need to be freed by the caller. | |
void | cpe_lang_model::cpe_lang_model_export_xml (const struct cpe_lang_model *spec, struct oscap_export_target *target) |
Function for export CPE language model to XML. | |
void | cpe_lang_model::cpe_lang_export (const struct cpe_lang_model *spec, xmlTextWriterPtr writer) |
Function for export CPE language top element. | |
void | cpe_platform::cpe_platform_export (const struct cpe_platform *platform, xmlTextWriterPtr writer) |
Function for export CPE platform element. | |
void | cpe_testexpr::cpe_testexpr_export (const struct cpe_testexpr expr, xmlTextWriterPtr writer) |
Function for export CPE test expression element. |
void cpe_lang_export | ( | const struct cpe_lang_model * | spec, | |
xmlTextWriterPtr | writer | |||
) | [related, inherited] |
Function for export CPE language top element.
writer | xmlTextWriterPtr structure representing XML model | |
spec | CPE language model structure |
void cpe_lang_model_export_xml | ( | const struct cpe_lang_model * | spec, | |
struct oscap_export_target * | target | |||
) | [related, inherited] |
Function for export CPE language model to XML.
target | structure with exporting information such filename and encoding | |
spec | CPE language model structure |
struct cpe_lang_model * cpe_lang_model_parse | ( | xmlTextReaderPtr | reader | ) | [related, inherited] |
Parse function for CPE Lang model.
reader | xmlTextReaderPtr structure representing XML model |
struct cpe_lang_model * cpe_lang_model_parse_xml | ( | const struct oscap_import_source * | source | ) | [related, inherited] |
Function for parsing XML CPE language file.
source | structure of import source with filename and encoding |
void cpe_platform_export | ( | const struct cpe_platform * | platform, | |
xmlTextWriterPtr | writer | |||
) | [related, inherited] |
Function for export CPE platform element.
writer | xmlTextWriterPtr structure representing XML model | |
platform | CPE platform structure |
struct cpe_platform * cpe_platform_parse | ( | xmlTextReaderPtr | reader | ) | [related, inherited] |
Parse CPE platform structure.
reader | xmlTextReaderPtr structure representing XML model |
void cpe_testexpr_export | ( | const struct cpe_testexpr | expr, | |
xmlTextWriterPtr | writer | |||
) | [related, inherited] |
Function for export CPE test expression element.
writer | xmlTextWriterPtr structure representing XML model | |
expr | CPE test expression structure |
struct cpe_testexpr * cpe_testexpr_parse | ( | xmlTextReaderPtr | reader | ) | [related, inherited] |
Parse CPE test expression structure.
reader | xmlTextReaderPtr structure representing XML model |