28#include <libxml/tree.h>
29#include <libxml/xmlreader.h>
31#include "common/util.h"
32#include "ds_sds_session.h"
35xmlNodePtr ds_sds_lookup_datastream_in_collection(xmlDocPtr doc,
const char *datastream_id);
37xmlNodePtr node_get_child_element(xmlNodePtr parent,
const char* name);
39xmlNode *containter_get_component_ref_by_id(xmlNode *container,
const char *component_id);
41int ds_sds_dump_component_ref(
const xmlNodePtr component_ref,
struct ds_sds_session *session);
43int ds_sds_dump_component_ref_as(
const xmlNodePtr component_ref,
struct ds_sds_session *session,
const char *sub_dir,
const char *relative_filepath);
45xmlDocPtr ds_sds_compose_xmlDoc_from_xccdf(
const char *xccdf_file);
46xmlDocPtr ds_sds_compose_xmlDoc_from_xccdf_source(
struct oscap_source *xccdf_source);
48xmlNodePtr lookup_component_in_collection(xmlNodePtr root,
const char *component_id);
49xmlNodePtr ds_sds_find_component_ref(xmlNodePtr datastream,
const char *
id);
51char *ds_sds_mangle_filepath(
const char *filepath);
53char *ds_sds_detect_version(xmlTextReader *reader);
General OpenScap functions and types.
Definition ds_sds_session.c:45
Definition oscap_source.c:66