Open SCAP Library: unused.h Source File

Open SCAP Library

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

unused.h
1 /*
2 * Copyright 2009 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 *
19 * Authors:
20 * Lukas Kuklinek <lkuklinek@redhat.com>
21 */
22
23 OSCAP_HIDDEN_START;
24
25 // Prototypes to supress compiler warnings
26 // these funcs are automatically generated but useless
27 struct xccdf_warning_iterator *xccdf_profile_get_warnings(const struct xccdf_profile *profile);
28 const char *xccdf_benchmark_get_extends(const struct xccdf_benchmark *);
29 bool xccdf_benchmark_get_hidden(const struct xccdf_benchmark *benchmark);
30 bool xccdf_benchmark_get_selected(const struct xccdf_benchmark *benchmark);
31 bool xccdf_benchmark_get_multiple(const struct xccdf_benchmark *benchmark);
32 bool xccdf_benchmark_get_prohibit_changes(const struct xccdf_benchmark *benchmark);
33 bool xccdf_benchmark_get_abstract(const struct xccdf_benchmark *benchmark);
34 bool xccdf_benchmark_get_interactive(const struct xccdf_benchmark *benchmark);
35 bool xccdf_benchmark_set_selected(struct xccdf_benchmark *item, bool newval);
36 bool xccdf_benchmark_set_abstract(struct xccdf_benchmark *item, bool newval);
37 bool xccdf_benchmark_set_hidden(struct xccdf_benchmark *item, bool newval);
38 bool xccdf_benchmark_set_interactive(struct xccdf_benchmark *item, bool newval);
39 bool xccdf_benchmark_set_multiple(struct xccdf_benchmark *item, bool newval);
40 bool xccdf_benchmark_set_prohibit_changes(struct xccdf_benchmark *item, bool newval);
41 bool xccdf_group_get_resolved(const struct xccdf_group *group);
42 bool xccdf_group_get_multiple(const struct xccdf_group *group);
43 bool xccdf_group_get_interactive(const struct xccdf_group *group);
44 bool xccdf_group_set_resolved(struct xccdf_group *item, bool newval);
45 bool xccdf_group_set_interactive(struct xccdf_group *item, bool newval);
46 bool xccdf_group_set_multiple(struct xccdf_group *item, bool newval);
47 bool xccdf_rule_set_resolved(struct xccdf_rule *item, bool newval);
48 bool xccdf_rule_get_resolved(const struct xccdf_rule *rule);
49 bool xccdf_rule_get_interactive(const struct xccdf_rule *rule);
50 bool xccdf_value_get_multiple(const struct xccdf_value *value);
51 bool xccdf_value_set_resolved(struct xccdf_value *item, bool newval);
52 bool xccdf_value_set_selected(struct xccdf_value *item, bool newval);
53 bool xccdf_value_get_resolved(const struct xccdf_value *value);
54 bool xccdf_value_get_selected(const struct xccdf_value *value);
55 bool xccdf_profile_get_resolved(const struct xccdf_profile *profile);
56 bool xccdf_profile_get_hidden(const struct xccdf_profile *profile);
57 bool xccdf_profile_get_selected(const struct xccdf_profile *profile);
58 bool xccdf_profile_get_multiple(const struct xccdf_profile *profile);
59 bool xccdf_profile_get_interactive(const struct xccdf_profile *profile);
60 bool xccdf_profile_set_resolved(struct xccdf_profile *item, bool newval);
61 bool xccdf_profile_set_selected(struct xccdf_profile *item, bool newval);
62 bool xccdf_profile_set_hidden(struct xccdf_profile *item, bool newval);
63 bool xccdf_profile_set_interactive(struct xccdf_profile *item, bool newval);
64 bool xccdf_profile_set_multiple(struct xccdf_profile *item, bool newval);
65 struct xccdf_item *xccdf_profile_get_parent(const struct xccdf_profile *profile);
66 struct oscap_text_iterator *xccdf_benchmark_get_question(const struct xccdf_benchmark *benchmark);
67 const char *xccdf_profile_get_cluster_id(const struct xccdf_profile *profile);
68 const char *xccdf_benchmark_get_cluster_id(const struct xccdf_benchmark *benchmark);
69 struct oscap_text_iterator *xccdf_profile_get_rationale(const struct xccdf_profile *profile);
70 struct oscap_text_iterator *xccdf_benchmark_get_rationale(const struct xccdf_benchmark *benchmark);
71 struct oscap_text_iterator *xccdf_value_get_rationale(const struct xccdf_value *value);
72 struct oscap_text_iterator *xccdf_profile_get_question(const struct xccdf_profile *profile);
73 struct oscap_string_iterator *xccdf_value_get_platforms(const struct xccdf_value *value);
74 struct xccdf_benchmark *xccdf_benchmark_get_benchmark(const struct xccdf_benchmark *benchmark);
75 struct xccdf_item *xccdf_benchmark_get_parent(const struct xccdf_benchmark *benchmark);
76 float xccdf_profile_get_weight(const struct xccdf_profile *profile);
77 float xccdf_benchmark_get_weight(const struct xccdf_benchmark *benchmark);
78 float xccdf_value_get_weight(const struct xccdf_value *value);
79 struct oscap_text_iterator *xccdf_result_get_question(const struct xccdf_result *item);
80 struct oscap_text_iterator *xccdf_result_get_rationale(const struct xccdf_result *item);
81 struct oscap_text_iterator *xccdf_result_get_description(const struct xccdf_result *item);
82 struct oscap_reference_iterator *xccdf_result_get_references(const struct xccdf_result *item);
83 struct xccdf_warning_iterator *xccdf_result_get_warnings(const struct xccdf_result *item);
84 const char *xccdf_result_get_cluster_id(const struct xccdf_result *item);
85 const char *xccdf_result_get_version_update(const struct xccdf_result *item);
86 const char *xccdf_result_get_version_time(const struct xccdf_result *item);
87 float xccdf_result_get_weight(const struct xccdf_result *item);
88 struct xccdf_item *xccdf_result_get_parent(const struct xccdf_result *item);
89 const char *xccdf_result_get_extends(const struct xccdf_result *item);
90 bool xccdf_result_get_resolved(const struct xccdf_result *item);
91 bool xccdf_result_get_hidden(const struct xccdf_result *item);
92 bool xccdf_result_get_selected(const struct xccdf_result *item);
93 bool xccdf_result_get_multiple(const struct xccdf_result *item);
94 bool xccdf_result_get_prohibit_changes(const struct xccdf_result *item);
95 bool xccdf_result_get_abstract(const struct xccdf_result *item);
96 bool xccdf_result_get_interactive(const struct xccdf_result *item);
97 bool xccdf_result_set_abstract(struct xccdf_result *item, bool newval);
98 bool xccdf_result_set_hidden(struct xccdf_result *item, bool newval);
99 bool xccdf_result_set_interactive(struct xccdf_result *item, bool newval);
100 bool xccdf_result_set_multiple(struct xccdf_result *item, bool newval);
101 bool xccdf_result_set_prohibit_changes(struct xccdf_result *item, bool newval);
102 bool xccdf_result_set_resolved(struct xccdf_result *item, bool newval);
103 bool xccdf_result_set_selected(struct xccdf_result *item, bool newval);
104 bool xccdf_item_get_resolved(const struct xccdf_item *item);
105 bool xccdf_item_get_multiple(const struct xccdf_item *item);
106 bool xccdf_item_set_multiple(struct xccdf_item *item, bool newval);
107 bool xccdf_item_set_resolved(struct xccdf_item *item, bool newval);
108 bool xccdf_benchmark_set_weight(struct xccdf_benchmark *item, xccdf_numeric newval);
109 bool xccdf_profile_set_weight(struct xccdf_profile *item, xccdf_numeric newval);
110 bool xccdf_value_set_weight(struct xccdf_value *item, xccdf_numeric newval);
111 bool xccdf_result_set_weight(struct xccdf_result *item, xccdf_numeric newval);
112 bool xccdf_result_set_cluster_id(struct xccdf_result *item, const char *newval);
113 bool xccdf_result_set_extends(struct xccdf_result *item, const char *newval);
114 bool xccdf_result_set_version_time(struct xccdf_result *item, const char *newval);
115 bool xccdf_result_set_version_update(struct xccdf_result *item, const char *newval);
116 bool xccdf_profile_set_cluster_id(struct xccdf_profile *item, const char *newval);
117 bool xccdf_benchmark_set_cluster_id(struct xccdf_benchmark *item, const char *newval);
118 bool xccdf_benchmark_set_extends(struct xccdf_benchmark *item, const char *newval);
119 bool xccdf_benchmark_add_question(struct xccdf_benchmark *item, struct oscap_text *newval);
120 bool xccdf_benchmark_add_rationale(struct xccdf_benchmark *item, struct oscap_text *newval);
121 bool xccdf_benchmark_add_warning(struct xccdf_benchmark *item, struct xccdf_warning *newval);
122 bool xccdf_profile_add_question(struct xccdf_profile *item, struct oscap_text *newval);
123 bool xccdf_profile_add_rationale(struct xccdf_profile *item, struct oscap_text *newval);
124 bool xccdf_profile_add_warning(struct xccdf_profile *item, struct xccdf_warning *newval);
125 bool xccdf_value_add_rationale(struct xccdf_value *item, struct oscap_text *newval);
126 bool xccdf_value_add_platform(struct xccdf_value *item, const char *newval);
127 bool xccdf_result_add_description(struct xccdf_result *item, struct oscap_text *newval);
128 bool xccdf_result_add_platform(struct xccdf_result *item, const char *newval);
129 bool xccdf_result_add_question(struct xccdf_result *item, struct oscap_text *newval);
130 bool xccdf_result_add_rationale(struct xccdf_result *item, struct oscap_text *newval);
131 bool xccdf_result_add_reference(struct xccdf_result *item, struct oscap_reference *newval);
132 bool xccdf_result_add_status(struct xccdf_result *item, struct xccdf_status *newval);
133 bool xccdf_result_add_dc_status(struct xccdf_result *item, struct oscap_reference *newval);
134 bool xccdf_result_add_warning(struct xccdf_result *item, struct xccdf_warning *newval);
135 bool xccdf_rule_set_interactive(struct xccdf_rule *item, bool newval);
136 bool xccdf_item_get_interactive(const struct xccdf_item *item);
137 bool xccdf_item_set_interactive(struct xccdf_item *item, bool newval);
138
139 OSCAP_HIDDEN_END;
xccdf_benchmark
Top level XCCDF structure containing profiles, rules, values and results.
oscap_text_iterator
Internationalized string iterator.
xccdf_value
XCCDF Value allows test parametrization or capturing output of tests.
Definition: xccdf_benchmark.h:217
xccdf_group
XCCDF rule group.
Definition: xccdf_benchmark.h:211
xccdf_result
Actual results of running a XCCDF test or profile.
Definition: xccdf_benchmark.h:223
xccdf_warning_iterator
Warning iterator.
Definition: xccdf_benchmark.h:551
oscap_reference
Definition: reference_priv.h:35
xccdf_status
XCCDF item status.
Definition: item.h:244
xccdf_rule
XCCDF rule defines a test execution.
Definition: xccdf_benchmark.h:205
oscap_text
Representation of internationalizable character strings.
Definition: text_priv.h:47
oscap_string_iterator
String iterator.
xccdf_profile
XCCDF profile is a set of tests and their settings in a compact package.
Definition: xccdf_benchmark.h:193
xccdf_numeric
float xccdf_numeric
Type of a numerical content for a XCCDF value.
Definition: xccdf_benchmark.h:187
xccdf_warning
XCCDF warning.
Definition: item.h:234
xccdf_item
A base class for XCCDF items.
Definition: item.h:221