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"
49struct oscap_source *oscap_source_new_take_memory(
char *buffer,
size_t size,
const char *
filepath);
General OpenScap functions and types.
Definition: oscap_source.c:66
xmlDoc * oscap_source_get_xmlDoc(struct oscap_source *source)
Get a DOM representation of this resource.
Definition: oscap_source.c:253
xmlDoc * oscap_source_pop_xmlDoc(struct oscap_source *source)
Get a DOM representation of this resource.
Definition: oscap_source.c:328
char * filepath
Filepath (if originated from file)
Definition: oscap_source.c:71
struct oscap_source * oscap_source_new_from_xmlDoc(xmlDoc *doc, const char *filepath)
Build new oscap_source from existing xmlDoc.
Definition: oscap_source.c:134
xmlTextReader * oscap_source_get_xmlTextReader(struct oscap_source *source)
Get an xmlTextReader assigned with this resource.
Definition: oscap_source.c:166