30 #ifndef OVAL_PARSER_H_
31 #define OVAL_PARSER_H_
33 #include <libxml/xmlreader.h>
35 #include "common/util.h"
38 #define OVAL_ROOT_ELM_DEFINITIONS "oval_definitions"
39 #define OVAL_ROOT_ELM_DIRECTIVES "oval_directives"
40 #define OVAL_ROOT_ELM_RESULTS "oval_results"
41 #define OVAL_ROOT_ELM_SYSCHARS "oval_system_characteristics"
42 #define OVAL_ROOT_ELM_VARIABLES "oval_variables"
50 xmlTextReader *reader;
58 int oval_parser_boolean_attribute(xmlTextReaderPtr reader,
char *attname,
int defval);
59 int oval_parser_int_attribute(xmlTextReaderPtr reader,
char *attname,
int defval);
61 typedef int (*oval_xml_tag_parser) (xmlTextReaderPtr,
struct oval_parser_context *,
void *);
65 char *oval_determine_document_schema_version_priv(xmlTextReader *reader,
oscap_document_type_t doc_type);
enum oscap_document_type oscap_document_type_t
SCAP document type identifiers.
int oval_parser_parse_tag(xmlTextReaderPtr, struct oval_parser_context *, oval_xml_tag_parser, void *)
-1 error; 0 OK; 1 warning
Definition: oval_parser.c:53
Oval definition model.
Definition: oval_defModel.c:53
This structure holds instance of OVAL Directives.
Definition: oval_parser_impl.h:44
OVAL Results Model holds OVAL results structure instances.
Definition: oval_resModel.c:56
OVAL System Characteristics model.
Definition: oval_sysModel.c:56
The OVAL variable model facilitates access to external variable value bindings used to to constrain t...
Definition: oval_varModel.c:56