23 #ifndef OPENSCAP_DS_COMMON_H 24 #define OPENSCAP_DS_COMMON_H 26 #include "common/list.h" 27 #include "common/util.h" 28 #include <libxml/tree.h> 31 bool ds_path_has_upward_component(
const char *path);
32 bool ds_path_is_null(
const char *path);
33 bool ds_path_is_valid_filename(
const char *path);
34 int ds_write_file(
const char *target_dir,
const char *relative_path,
int mode,
35 int (*write_contents)(
int fd,
void *data),
void *data);
36 int ds_dump_component_sources(
struct oscap_htable *component_sources,
const char *target_dir);
37 xmlDoc *ds_doc_from_foreign_node(xmlNode *node, xmlDoc *parent);