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