00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef DS_RDS_PRIV_H
00022 #define DS_RDS_PRIV_H
00023
00024 #ifdef HAVE_CONFIG_H
00025 #include <config.h>
00026 #endif
00027
00028 #include <libxml/tree.h>
00029
00030 #include "common/public/oscap.h"
00031 #include "common/util.h"
00032 #include "ds_rds_session.h"
00033 #include "source/public/oscap_source.h"
00034
00035 OSCAP_HIDDEN_START;
00036
00037 xmlNode *ds_rds_lookup_container(xmlDocPtr doc, const char *container_name);
00038 xmlNode *ds_rds_lookup_component(xmlDocPtr doc, const char *container_name, const char *component_name, const char *id);
00039 int ds_rds_dump_arf_content(struct ds_rds_session *session, const char *container_name, const char *component_name, const char *content_id);
00040 struct oscap_source *ds_rds_create_source(struct oscap_source *sds_source, struct oscap_source *xccdf_result_source, struct oscap_htable *oval_result_sources, struct oscap_htable *oval_result_mapping, struct oscap_htable *arf_report_mapping, const char *target_file);
00041 xmlNodePtr ds_rds_create_report(xmlDocPtr target_doc, xmlNodePtr reports_node, xmlDocPtr source_doc, const char* report_id);
00042
00043 OSCAP_HIDDEN_END;
00044 #endif