22 #ifndef OSCAP_SOURCE_PRIV_H
23 #define OSCAP_SOURCE_PRIV_H
29 #include <libxml/parser.h>
30 #include <libxml/xmlreader.h>
32 #include "common/util.h"
34 #include "oscap_source.h"
50 struct oscap_source *oscap_source_new_take_memory(
char *buffer,
size_t size,
const char *
filepath);
General OpenScap functions and types.
char * filepath
Filepath (if originated from file)
Definition: oscap_source.c:67
xmlDoc * oscap_source_get_xmlDoc(struct oscap_source *source)
Get a DOM representation of this resource.
Definition: oscap_source.c:249
struct oscap_source * oscap_source_new_from_xmlDoc(xmlDoc *doc, const char *filepath)
Build new oscap_source from existing xmlDoc.
Definition: oscap_source.c:130
Definition: oscap_source.c:62
xmlTextReader * oscap_source_get_xmlTextReader(struct oscap_source *source)
Get an xmlTextReader assigned with this resource.
Definition: oscap_source.c:162