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>
31bool ds_path_has_upward_component(
const char *path);
32bool ds_path_is_null(
const char *path);
33bool ds_path_is_valid_filename(
const char *path);
34int ds_write_file(
const char *target_dir,
const char *relative_path,
int mode,
35 int (*write_contents)(
int fd,
void *data),
void *data);
36int ds_dump_component_sources(
struct oscap_htable *component_sources,
const char *target_dir);
37xmlDoc *ds_doc_from_foreign_node(xmlNode *node, xmlDoc *parent);