Debian Codegraph @

src/common/public/oscap_reference.h

raw symbols SCIP
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 <[email protected]>
21 */
22
23
24 #pragma once
25 #ifndef OSCAP_REFERENCE_H_
26 #define OSCAP_REFERENCE_H_
27
28 #include "oscap_export.h"
29
30 /**
31 * Dublin Core reference
32 */
33 struct oscap_reference;
34
35 /// @see oscap_reference
36 struct oscap_reference_iterator;
37 /// @memberof oscap_reference_iterator
38 OSCAP_API bool oscap_reference_iterator_has_more(struct oscap_reference_iterator *it);
39 /// @memberof oscap_reference_iterator
40 OSCAP_API struct oscap_reference *oscap_reference_iterator_next(struct oscap_reference_iterator *it);
41 /// @memberof oscap_reference_iterator
42 OSCAP_API void oscap_reference_iterator_free(struct oscap_reference_iterator *it);
43 /// @memberof oscap_reference_iterator
44 OSCAP_API void oscap_reference_iterator_reset(struct oscap_reference_iterator *it);
45
46 /// @memberof oscap_reference
47 OSCAP_API struct oscap_reference *oscap_reference_new(void);
48 /// @memberof oscap_reference
49 OSCAP_API void oscap_reference_free(struct oscap_reference *ref);
50 /// @memberof oscap_reference
51 OSCAP_API struct oscap_reference *oscap_reference_clone(const struct oscap_reference *ref);
52
53 /// @memberof oscap_reference
54 OSCAP_API bool oscap_reference_get_is_dublincore(const struct oscap_reference *item);
55 /// @memberof oscap_reference
56 OSCAP_API bool oscap_reference_set_is_dublincore(struct oscap_reference *obj, bool newval);
57
58 /// @memberof oscap_reference
59 OSCAP_API const char *oscap_reference_get_href(const struct oscap_reference *item);
60 /// @memberof oscap_reference
61 OSCAP_API bool oscap_reference_set_href(struct oscap_reference *obj, const char *newval);
62 /// @memberof oscap_reference
63 OSCAP_API const char *oscap_reference_get_title(const struct oscap_reference *item);
64 /// @memberof oscap_reference
65 OSCAP_API bool oscap_reference_set_title(struct oscap_reference *obj, const char *newval);
66 /// @memberof oscap_reference
67 OSCAP_API const char *oscap_reference_get_creator(const struct oscap_reference *item);
68 /// @memberof oscap_reference
69 OSCAP_API bool oscap_reference_set_creator(struct oscap_reference *obj, const char *newval);
70 /// @memberof oscap_reference
71 OSCAP_API const char *oscap_reference_get_subject(const struct oscap_reference *item);
72 /// @memberof oscap_reference
73 OSCAP_API bool oscap_reference_set_subject(struct oscap_reference *obj, const char *newval);
74 /// @memberof oscap_reference
75 OSCAP_API const char *oscap_reference_get_description(const struct oscap_reference *item);
76 /// @memberof oscap_reference
77 OSCAP_API bool oscap_reference_set_description(struct oscap_reference *obj, const char *newval);
78 /// @memberof oscap_reference
79 OSCAP_API const char *oscap_reference_get_publisher(const struct oscap_reference *item);
80 /// @memberof oscap_reference
81 OSCAP_API bool oscap_reference_set_publisher(struct oscap_reference *obj, const char *newval);
82 /// @memberof oscap_reference
83 OSCAP_API const char *oscap_reference_get_contributor(const struct oscap_reference *item);
84 /// @memberof oscap_reference
85 OSCAP_API bool oscap_reference_set_contributor(struct oscap_reference *obj, const char *newval);
86 /// @memberof oscap_reference
87 OSCAP_API const char *oscap_reference_get_date(const struct oscap_reference *item);
88 /// @memberof oscap_reference
89 OSCAP_API bool oscap_reference_set_date(struct oscap_reference *obj, const char *newval);
90 /// @memberof oscap_reference
91 OSCAP_API const char *oscap_reference_get_type(const struct oscap_reference *item);
92 /// @memberof oscap_reference
93 OSCAP_API bool oscap_reference_set_type(struct oscap_reference *obj, const char *newval);
94 /// @memberof oscap_reference
95 OSCAP_API const char *oscap_reference_get_format(const struct oscap_reference *item);
96 /// @memberof oscap_reference
97 OSCAP_API bool oscap_reference_set_format(struct oscap_reference *obj, const char *newval);
98 /// @memberof oscap_reference
99 OSCAP_API const char *oscap_reference_get_identifier(const struct oscap_reference *item);
100 /// @memberof oscap_reference
101 OSCAP_API bool oscap_reference_set_identifier(struct oscap_reference *obj, const char *newval);
102 /// @memberof oscap_reference
103 OSCAP_API const char *oscap_reference_get_source(const struct oscap_reference *item);
104 /// @memberof oscap_reference
105 OSCAP_API bool oscap_reference_set_source(struct oscap_reference *obj, const char *newval);
106 /// @memberof oscap_reference
107 OSCAP_API const char *oscap_reference_get_language(const struct oscap_reference *item);
108 /// @memberof oscap_reference
109 OSCAP_API bool oscap_reference_set_language(struct oscap_reference *obj, const char *newval);
110 /// @memberof oscap_reference
111 OSCAP_API const char *oscap_reference_get_relation(const struct oscap_reference *item);
112 /// @memberof oscap_reference
113 OSCAP_API bool oscap_reference_set_relation(struct oscap_reference *obj, const char *newval);
114 /// @memberof oscap_reference
115 OSCAP_API const char *oscap_reference_get_coverage(const struct oscap_reference *item);
116 /// @memberof oscap_reference
117 OSCAP_API bool oscap_reference_set_coverage(struct oscap_reference *obj, const char *newval);
118 /// @memberof oscap_reference
119 OSCAP_API const char *oscap_reference_get_rights(const struct oscap_reference *item);
120 /// @memberof oscap_reference
121 OSCAP_API bool oscap_reference_set_rights(struct oscap_reference *obj, const char *newval);
122
123 #endif