00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #pragma once
00025 #ifndef OSCAP_REFERENCE_PRIV_H_
00026 #define OSCAP_REFERENCE_PRIV_H_
00027
00028
00029 #include "util.h"
00030 #include "public/reference.h"
00031 #include "elements.h"
00032 #include <libxml/xmlreader.h>
00033 #include <libxml/xmlwriter.h>
00034
00035 struct oscap_reference {
00036 char *title;
00037 char *creator;
00038 char *subject;
00039 char *description;
00040 char *publisher;
00041 char *contributor;
00042 char *date;
00043 char *type;
00044 char *format;
00045 char *identifier;
00046 char *source;
00047 char *language;
00048 char *relation;
00049 char *coverage;
00050 char *rights;
00051 bool is_dublincore;
00052 };
00053
00054 xmlNode *oscap_reference_to_dom(struct oscap_reference *ref, xmlNode *parent, xmlDoc *doc, const char *elname);
00055 struct oscap_reference *oscap_reference_new_parse(xmlTextReaderPtr reader);
00056
00057 #endif // OSCAP_REFERENCE_PRIV_H_
00058