00001
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 #ifndef OVAL_SYSCHAR_IMPL
00031 #define OVAL_SYSCHAR_IMPL
00032
00033 #include "public/oval_system_characteristics.h"
00034 #include "oval_definitions_impl.h"
00035 #include "../common/util.h"
00036
00037 OSCAP_HIDDEN_START;
00038
00039 extern const char NAMESPACE_OVALSYS[];
00040
00041 typedef void (*oval_sysint_consumer) (struct oval_sysint *, void *);
00042 int oval_sysint_parse_tag(xmlTextReaderPtr, struct oval_parser_context *, oval_sysint_consumer, void *);
00043 void oval_sysint_to_print(struct oval_sysint *, char *, int);
00044 void oval_sysint_to_dom(struct oval_sysint *, xmlDoc *, xmlNode *);
00045
00046 void oval_sysinfo_to_print(struct oval_sysinfo *, char *, int);
00047 void oval_sysinfo_to_dom(struct oval_sysinfo *, xmlDoc *, xmlNode *);
00048 int oval_sysinfo_parse_tag(xmlTextReaderPtr reader, struct oval_parser_context *);
00049
00050 void oval_sysdata_to_print(struct oval_sysdata *, char *, int);
00051 void oval_sysdata_to_dom(struct oval_sysdata *, xmlDoc *, xmlNode *);
00052 int oval_sysdata_parse_tag(xmlTextReaderPtr, struct oval_parser_context *);
00053
00054 void oval_syschar_to_dom(struct oval_syschar *, xmlDoc *, xmlNode *);
00055 int oval_syschar_parse_tag(xmlTextReaderPtr, struct oval_parser_context *context);
00056 oval_syschar_collection_flag_t oval_syschar_flag_parse(xmlTextReaderPtr, char *, oval_syschar_collection_flag_t);
00057 oval_syschar_status_t oval_syschar_status_parse(xmlTextReaderPtr, char *, oval_syschar_status_t);
00058
00059 typedef void (*oval_sysitem_consumer) (struct oval_sysitem *, void *client);
00060 int oval_sysitem_parse_tag(xmlTextReaderPtr, struct oval_parser_context *, oval_sysitem_consumer, void *);
00061 void oval_sysitem_to_dom(struct oval_sysitem *sysitem, xmlDoc * doc, xmlNode * tag_parent);
00062 void oval_sysitem_to_print(struct oval_sysitem *, char *, int);
00063
00064 struct oval_syschar_model *oval_syschar_get_model(struct oval_syschar *syschar);
00065
00066 OSCAP_HIDDEN_END;
00067
00068 #endif