|
Open SCAP Library
|
00001 /* 00002 * Copyright 2009 Red Hat Inc., Durham, North Carolina. 00003 * All Rights Reserved. 00004 * 00005 * This library is free software; you can redistribute it and/or 00006 * modify it under the terms of the GNU Lesser General Public 00007 * License as published by the Free Software Foundation; either 00008 * version 2.1 of the License, or (at your option) any later version. 00009 * 00010 * This library is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 * Lesser General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU Lesser General Public 00016 * License along with this library; if not, write to the Free Software 00017 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00018 * 00019 * Authors: 00020 * Lukas Kuklinek <lkuklinek@redhat.com> 00021 */ 00022 00023 #pragma once 00024 00025 #ifndef OPENSCAP_XCCDF_UNUSED_H_ 00026 #define OPENSCAP_XCCDF_UNUSED_H_ 00027 00028 OSCAP_HIDDEN_START; 00029 00030 // Prototypes to supress compiler warnings 00031 // these funcs are automatically generated but useless 00032 struct xccdf_warning_iterator *xccdf_profile_get_warnings(const struct xccdf_profile *profile); 00033 const char *xccdf_benchmark_get_extends(const struct xccdf_benchmark *); 00034 bool xccdf_benchmark_get_hidden(const struct xccdf_benchmark *benchmark); 00035 bool xccdf_benchmark_get_selected(const struct xccdf_benchmark *benchmark); 00036 bool xccdf_benchmark_get_multiple(const struct xccdf_benchmark *benchmark); 00037 bool xccdf_benchmark_get_prohibit_changes(const struct xccdf_benchmark *benchmark); 00038 bool xccdf_benchmark_get_abstract(const struct xccdf_benchmark *benchmark); 00039 bool xccdf_benchmark_get_interactive(const struct xccdf_benchmark *benchmark); 00040 bool xccdf_benchmark_set_selected(struct xccdf_benchmark *item, bool newval); 00041 bool xccdf_benchmark_set_abstract(struct xccdf_benchmark *item, bool newval); 00042 bool xccdf_benchmark_set_hidden(struct xccdf_benchmark *item, bool newval); 00043 bool xccdf_benchmark_set_interactive(struct xccdf_benchmark *item, bool newval); 00044 bool xccdf_benchmark_set_multiple(struct xccdf_benchmark *item, bool newval); 00045 bool xccdf_benchmark_set_prohibit_changes(struct xccdf_benchmark *item, bool newval); 00046 bool xccdf_group_get_resolved(const struct xccdf_group *group); 00047 bool xccdf_group_get_multiple(const struct xccdf_group *group); 00048 bool xccdf_group_get_interactive(const struct xccdf_group *group); 00049 bool xccdf_group_set_resolved(struct xccdf_group *item, bool newval); 00050 bool xccdf_group_set_interactive(struct xccdf_group *item, bool newval); 00051 bool xccdf_group_set_multiple(struct xccdf_group *item, bool newval); 00052 bool xccdf_rule_set_resolved(struct xccdf_rule *item, bool newval); 00053 bool xccdf_rule_get_resolved(const struct xccdf_rule *rule); 00054 bool xccdf_rule_get_interactive(const struct xccdf_rule *rule); 00055 bool xccdf_value_get_multiple(const struct xccdf_value *value); 00056 bool xccdf_value_set_resolved(struct xccdf_value *item, bool newval); 00057 bool xccdf_value_set_selected(struct xccdf_value *item, bool newval); 00058 bool xccdf_value_get_resolved(const struct xccdf_value *value); 00059 bool xccdf_value_get_selected(const struct xccdf_value *value); 00060 bool xccdf_profile_get_resolved(const struct xccdf_profile *profile); 00061 bool xccdf_profile_get_hidden(const struct xccdf_profile *profile); 00062 bool xccdf_profile_get_selected(const struct xccdf_profile *profile); 00063 bool xccdf_profile_get_multiple(const struct xccdf_profile *profile); 00064 bool xccdf_profile_get_interactive(const struct xccdf_profile *profile); 00065 bool xccdf_profile_set_resolved(struct xccdf_profile *item, bool newval); 00066 bool xccdf_profile_set_selected(struct xccdf_profile *item, bool newval); 00067 bool xccdf_profile_set_hidden(struct xccdf_profile *item, bool newval); 00068 bool xccdf_profile_set_interactive(struct xccdf_profile *item, bool newval); 00069 bool xccdf_profile_set_multiple(struct xccdf_profile *item, bool newval); 00070 struct xccdf_item *xccdf_profile_get_parent(const struct xccdf_profile *profile); 00071 struct oscap_text_iterator *xccdf_benchmark_get_question(const struct xccdf_benchmark *benchmark); 00072 const char *xccdf_profile_get_cluster_id(const struct xccdf_profile *profile); 00073 const char *xccdf_benchmark_get_cluster_id(const struct xccdf_benchmark *benchmark); 00074 struct oscap_text_iterator *xccdf_profile_get_rationale(const struct xccdf_profile *profile); 00075 struct oscap_text_iterator *xccdf_benchmark_get_rationale(const struct xccdf_benchmark *benchmark); 00076 struct oscap_text_iterator *xccdf_value_get_rationale(const struct xccdf_value *value); 00077 struct oscap_text_iterator *xccdf_profile_get_question(const struct xccdf_profile *profile); 00078 struct oscap_string_iterator *xccdf_value_get_platforms(const struct xccdf_value *value); 00079 struct xccdf_benchmark *xccdf_benchmark_get_benchmark(const struct xccdf_benchmark *benchmark); 00080 struct xccdf_item *xccdf_benchmark_get_parent(const struct xccdf_benchmark *benchmark); 00081 float xccdf_profile_get_weight(const struct xccdf_profile *profile); 00082 float xccdf_benchmark_get_weight(const struct xccdf_benchmark *benchmark); 00083 float xccdf_value_get_weight(const struct xccdf_value *value); 00084 struct oscap_text_iterator *xccdf_result_get_question(const struct xccdf_result *item); 00085 struct oscap_text_iterator *xccdf_result_get_rationale(const struct xccdf_result *item); 00086 struct oscap_text_iterator *xccdf_result_get_description(const struct xccdf_result *item); 00087 struct oscap_reference_iterator *xccdf_result_get_references(const struct xccdf_result *item); 00088 struct xccdf_warning_iterator *xccdf_result_get_warnings(const struct xccdf_result *item); 00089 const char *xccdf_result_get_cluster_id(const struct xccdf_result *item); 00090 const char *xccdf_result_get_version_update(const struct xccdf_result *item); 00091 const char *xccdf_result_get_version_time(const struct xccdf_result *item); 00092 float xccdf_result_get_weight(const struct xccdf_result *item); 00093 struct xccdf_item *xccdf_result_get_parent(const struct xccdf_result *item); 00094 const char *xccdf_result_get_extends(const struct xccdf_result *item); 00095 bool xccdf_result_get_resolved(const struct xccdf_result *item); 00096 bool xccdf_result_get_hidden(const struct xccdf_result *item); 00097 bool xccdf_result_get_selected(const struct xccdf_result *item); 00098 bool xccdf_result_get_multiple(const struct xccdf_result *item); 00099 bool xccdf_result_get_prohibit_changes(const struct xccdf_result *item); 00100 bool xccdf_result_get_abstract(const struct xccdf_result *item); 00101 bool xccdf_result_get_interactive(const struct xccdf_result *item); 00102 bool xccdf_result_set_abstract(struct xccdf_result *item, bool newval); 00103 bool xccdf_result_set_hidden(struct xccdf_result *item, bool newval); 00104 bool xccdf_result_set_interactive(struct xccdf_result *item, bool newval); 00105 bool xccdf_result_set_multiple(struct xccdf_result *item, bool newval); 00106 bool xccdf_result_set_prohibit_changes(struct xccdf_result *item, bool newval); 00107 bool xccdf_result_set_resolved(struct xccdf_result *item, bool newval); 00108 bool xccdf_result_set_selected(struct xccdf_result *item, bool newval); 00109 bool xccdf_item_get_resolved(const struct xccdf_item *item); 00110 bool xccdf_item_get_multiple(const struct xccdf_item *item); 00111 bool xccdf_item_set_multiple(struct xccdf_item *item, bool newval); 00112 bool xccdf_item_set_resolved(struct xccdf_item *item, bool newval); 00113 bool xccdf_benchmark_set_weight(struct xccdf_benchmark *item, xccdf_numeric newval); 00114 bool xccdf_profile_set_weight(struct xccdf_profile *item, xccdf_numeric newval); 00115 bool xccdf_value_set_weight(struct xccdf_value *item, xccdf_numeric newval); 00116 bool xccdf_result_set_weight(struct xccdf_result *item, xccdf_numeric newval); 00117 bool xccdf_result_set_cluster_id(struct xccdf_result *item, const char *newval); 00118 bool xccdf_result_set_extends(struct xccdf_result *item, const char *newval); 00119 bool xccdf_result_set_version_time(struct xccdf_result *item, const char *newval); 00120 bool xccdf_result_set_version_update(struct xccdf_result *item, const char *newval); 00121 bool xccdf_profile_set_cluster_id(struct xccdf_profile *item, const char *newval); 00122 bool xccdf_benchmark_set_cluster_id(struct xccdf_benchmark *item, const char *newval); 00123 bool xccdf_benchmark_set_extends(struct xccdf_benchmark *item, const char *newval); 00124 bool xccdf_benchmark_add_question(struct xccdf_benchmark *item, struct oscap_text *newval); 00125 bool xccdf_benchmark_add_rationale(struct xccdf_benchmark *item, struct oscap_text *newval); 00126 bool xccdf_benchmark_add_warning(struct xccdf_benchmark *item, struct xccdf_warning *newval); 00127 bool xccdf_profile_add_question(struct xccdf_profile *item, struct oscap_text *newval); 00128 bool xccdf_profile_add_rationale(struct xccdf_profile *item, struct oscap_text *newval); 00129 bool xccdf_profile_add_warning(struct xccdf_profile *item, struct xccdf_warning *newval); 00130 bool xccdf_value_add_rationale(struct xccdf_value *item, struct oscap_text *newval); 00131 bool xccdf_value_add_platform(struct xccdf_value *item, const char *newval); 00132 bool xccdf_result_add_description(struct xccdf_result *item, struct oscap_text *newval); 00133 bool xccdf_result_add_platform(struct xccdf_result *item, const char *newval); 00134 bool xccdf_result_add_question(struct xccdf_result *item, struct oscap_text *newval); 00135 bool xccdf_result_add_rationale(struct xccdf_result *item, struct oscap_text *newval); 00136 bool xccdf_result_add_reference(struct xccdf_result *item, struct oscap_reference *newval); 00137 bool xccdf_result_add_status(struct xccdf_result *item, struct xccdf_status *newval); 00138 bool xccdf_result_add_dc_status(struct xccdf_result *item, struct oscap_reference *newval); 00139 bool xccdf_result_add_warning(struct xccdf_result *item, struct xccdf_warning *newval); 00140 bool xccdf_rule_set_interactive(struct xccdf_rule *item, bool newval); 00141 bool xccdf_item_get_interactive(const struct xccdf_item *item); 00142 bool xccdf_item_set_interactive(struct xccdf_item *item, bool newval); 00143 00144 OSCAP_HIDDEN_END; 00145 00146 #endif
1.7.3