Open SCAP Library
Loading...
Searching...
No Matches
reference_priv.h
1/*
2 * Copyright 2010 Red Hat Inc., Durham, North Carolina.
3 * All Rights Reserved.
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 *
19 * Authors:
20 * Lukas Kuklinek <lkuklinek@redhat.com>
21 */
22
23
24#pragma once
25#ifndef OSCAP_REFERENCE_PRIV_H_
26#define OSCAP_REFERENCE_PRIV_H_
27
28
29#include "util.h"
30#include "public/oscap_reference.h"
31#include "elements.h"
32#include <libxml/xmlreader.h>
33#include <libxml/xmlwriter.h>
34
36 char *title;
37 char *creator;
38 char *subject;
39 char *description;
40 char *publisher;
41 char *contributor;
42 char *date;
43 char *type;
44 char *format;
45 char *identifier;
46 char *source;
47 char *language;
48 char *relation;
49 char *coverage;
50 char *rights;
51 bool is_dublincore;
52 char *href;
53};
54
55xmlNode *oscap_reference_to_dom(struct oscap_reference *ref, xmlNode *parent, xmlDoc *doc, const char *elname);
56struct oscap_reference *oscap_reference_new_parse(xmlTextReaderPtr reader);
57
58#endif // OSCAP_REFERENCE_PRIV_H_
59
Definition reference_priv.h:35