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 OSCAP_HIDDEN_START; 00024 00025 // Prototypes to supress compiler warnings 00026 // these funcs are automatically generated but useless 00027 struct xccdf_warning_iterator *xccdf_profile_get_warnings(const struct xccdf_profile *profile); 00028 const char *xccdf_benchmark_get_extends(const struct xccdf_benchmark *); 00029 bool xccdf_benchmark_get_hidden(const struct xccdf_benchmark *benchmark); 00030 bool xccdf_benchmark_get_selected(const struct xccdf_benchmark *benchmark); 00031 bool xccdf_benchmark_get_multiple(const struct xccdf_benchmark *benchmark); 00032 bool xccdf_benchmark_get_prohibit_changes(const struct xccdf_benchmark *benchmark); 00033 bool xccdf_benchmark_get_abstract(const struct xccdf_benchmark *benchmark); 00034 bool xccdf_benchmark_get_interactive(const struct xccdf_benchmark *benchmark); 00035 bool xccdf_benchmark_set_selected(struct xccdf_benchmark *item, bool newval); 00036 bool xccdf_benchmark_set_abstract(struct xccdf_benchmark *item, bool newval); 00037 bool xccdf_benchmark_set_hidden(struct xccdf_benchmark *item, bool newval); 00038 bool xccdf_benchmark_set_interactive(struct xccdf_benchmark *item, bool newval); 00039 bool xccdf_benchmark_set_multiple(struct xccdf_benchmark *item, bool newval); 00040 bool xccdf_benchmark_set_prohibit_changes(struct xccdf_benchmark *item, bool newval); 00041 bool xccdf_group_get_resolved(const struct xccdf_group *group); 00042 bool xccdf_group_get_multiple(const struct xccdf_group *group); 00043 bool xccdf_group_get_interactive(const struct xccdf_group *group); 00044 bool xccdf_group_set_resolved(struct xccdf_group *item, bool newval); 00045 bool xccdf_group_set_interactive(struct xccdf_group *item, bool newval); 00046 bool xccdf_group_set_multiple(struct xccdf_group *item, bool newval); 00047 bool xccdf_rule_set_resolved(struct xccdf_rule *item, bool newval); 00048 bool xccdf_rule_get_resolved(const struct xccdf_rule *rule); 00049 bool xccdf_rule_get_interactive(const struct xccdf_rule *rule); 00050 bool xccdf_value_get_multiple(const struct xccdf_value *value); 00051 bool xccdf_value_set_resolved(struct xccdf_value *item, bool newval); 00052 bool xccdf_value_set_selected(struct xccdf_value *item, bool newval); 00053 bool xccdf_value_get_resolved(const struct xccdf_value *value); 00054 bool xccdf_value_get_selected(const struct xccdf_value *value); 00055 bool xccdf_profile_get_resolved(const struct xccdf_profile *profile); 00056 bool xccdf_profile_get_hidden(const struct xccdf_profile *profile); 00057 bool xccdf_profile_get_selected(const struct xccdf_profile *profile); 00058 bool xccdf_profile_get_multiple(const struct xccdf_profile *profile); 00059 bool xccdf_profile_get_interactive(const struct xccdf_profile *profile); 00060 bool xccdf_profile_set_resolved(struct xccdf_profile *item, bool newval); 00061 bool xccdf_profile_set_selected(struct xccdf_profile *item, bool newval); 00062 bool xccdf_profile_set_hidden(struct xccdf_profile *item, bool newval); 00063 bool xccdf_profile_set_interactive(struct xccdf_profile *item, bool newval); 00064 bool xccdf_profile_set_multiple(struct xccdf_profile *item, bool newval); 00065 struct xccdf_item *xccdf_profile_get_parent(const struct xccdf_profile *profile); 00066 struct oscap_text_iterator *xccdf_benchmark_get_question(const struct xccdf_benchmark *benchmark); 00067 const char *xccdf_profile_get_cluster_id(const struct xccdf_profile *profile); 00068 const char *xccdf_benchmark_get_cluster_id(const struct xccdf_benchmark *benchmark); 00069 struct oscap_text_iterator *xccdf_profile_get_rationale(const struct xccdf_profile *profile); 00070 struct oscap_text_iterator *xccdf_benchmark_get_rationale(const struct xccdf_benchmark *benchmark); 00071 struct oscap_text_iterator *xccdf_value_get_rationale(const struct xccdf_value *value); 00072 struct oscap_text_iterator *xccdf_profile_get_question(const struct xccdf_profile *profile); 00073 struct oscap_string_iterator *xccdf_value_get_platforms(const struct xccdf_value *value); 00074 struct xccdf_benchmark *xccdf_benchmark_get_benchmark(const struct xccdf_benchmark *benchmark); 00075 struct xccdf_item *xccdf_benchmark_get_parent(const struct xccdf_benchmark *benchmark); 00076 float xccdf_profile_get_weight(const struct xccdf_profile *profile); 00077 float xccdf_benchmark_get_weight(const struct xccdf_benchmark *benchmark); 00078 float xccdf_value_get_weight(const struct xccdf_value *value); 00079 struct oscap_text_iterator *xccdf_result_get_question(const struct xccdf_result *item); 00080 struct oscap_text_iterator *xccdf_result_get_rationale(const struct xccdf_result *item); 00081 struct oscap_text_iterator *xccdf_result_get_description(const struct xccdf_result *item); 00082 struct oscap_reference_iterator *xccdf_result_get_references(const struct xccdf_result *item); 00083 struct xccdf_warning_iterator *xccdf_result_get_warnings(const struct xccdf_result *item); 00084 const char *xccdf_result_get_cluster_id(const struct xccdf_result *item); 00085 const char *xccdf_result_get_version_update(const struct xccdf_result *item); 00086 time_t xccdf_result_get_version_time(const struct xccdf_result *item); 00087 float xccdf_result_get_weight(const struct xccdf_result *item); 00088 struct xccdf_item *xccdf_result_get_parent(const struct xccdf_result *item); 00089 const char *xccdf_result_get_extends(const struct xccdf_result *item); 00090 bool xccdf_result_get_resolved(const struct xccdf_result *item); 00091 bool xccdf_result_get_hidden(const struct xccdf_result *item); 00092 bool xccdf_result_get_selected(const struct xccdf_result *item); 00093 bool xccdf_result_get_multiple(const struct xccdf_result *item); 00094 bool xccdf_result_get_prohibit_changes(const struct xccdf_result *item); 00095 bool xccdf_result_get_abstract(const struct xccdf_result *item); 00096 bool xccdf_result_get_interactive(const struct xccdf_result *item); 00097 bool xccdf_result_set_abstract(struct xccdf_result *item, bool newval); 00098 bool xccdf_result_set_hidden(struct xccdf_result *item, bool newval); 00099 bool xccdf_result_set_interactive(struct xccdf_result *item, bool newval); 00100 bool xccdf_result_set_multiple(struct xccdf_result *item, bool newval); 00101 bool xccdf_result_set_prohibit_changes(struct xccdf_result *item, bool newval); 00102 bool xccdf_result_set_resolved(struct xccdf_result *item, bool newval); 00103 bool xccdf_result_set_selected(struct xccdf_result *item, bool newval); 00104 bool xccdf_item_get_resolved(const struct xccdf_item *item); 00105 bool xccdf_item_get_multiple(const struct xccdf_item *item); 00106 bool xccdf_item_set_multiple(struct xccdf_item *item, bool newval); 00107 bool xccdf_item_set_resolved(struct xccdf_item *item, bool newval); 00108 bool xccdf_benchmark_set_weight(struct xccdf_benchmark *item, xccdf_numeric newval); 00109 bool xccdf_profile_set_weight(struct xccdf_profile *item, xccdf_numeric newval); 00110 bool xccdf_value_set_weight(struct xccdf_value *item, xccdf_numeric newval); 00111 bool xccdf_result_set_weight(struct xccdf_result *item, xccdf_numeric newval); 00112 bool xccdf_result_set_cluster_id(struct xccdf_result *item, const char *newval); 00113 bool xccdf_result_set_extends(struct xccdf_result *item, const char *newval); 00114 bool xccdf_result_set_version_time(struct xccdf_result *item, time_t newval); 00115 bool xccdf_result_set_version_update(struct xccdf_result *item, const char *newval); 00116 bool xccdf_profile_set_cluster_id(struct xccdf_profile *item, const char *newval); 00117 bool xccdf_benchmark_set_cluster_id(struct xccdf_benchmark *item, const char *newval); 00118 bool xccdf_benchmark_set_extends(struct xccdf_benchmark *item, const char *newval); 00119 bool xccdf_benchmark_add_question(struct xccdf_benchmark *item, struct oscap_text *newval); 00120 bool xccdf_benchmark_add_rationale(struct xccdf_benchmark *item, struct oscap_text *newval); 00121 bool xccdf_benchmark_add_warning(struct xccdf_benchmark *item, struct xccdf_warning *newval); 00122 bool xccdf_profile_add_question(struct xccdf_profile *item, struct oscap_text *newval); 00123 bool xccdf_profile_add_rationale(struct xccdf_profile *item, struct oscap_text *newval); 00124 bool xccdf_profile_add_warning(struct xccdf_profile *item, struct xccdf_warning *newval); 00125 bool xccdf_value_add_rationale(struct xccdf_value *item, struct oscap_text *newval); 00126 bool xccdf_value_add_platform(struct xccdf_value *item, const char *newval); 00127 bool xccdf_result_add_description(struct xccdf_result *item, struct oscap_text *newval); 00128 bool xccdf_result_add_platform(struct xccdf_result *item, const char *newval); 00129 bool xccdf_result_add_question(struct xccdf_result *item, struct oscap_text *newval); 00130 bool xccdf_result_add_rationale(struct xccdf_result *item, struct oscap_text *newval); 00131 bool xccdf_result_add_reference(struct xccdf_result *item, struct oscap_reference *newval); 00132 bool xccdf_result_add_status(struct xccdf_result *item, struct xccdf_status *newval); 00133 bool xccdf_result_add_warning(struct xccdf_result *item, struct xccdf_warning *newval); 00134 bool xccdf_rule_set_interactive(struct xccdf_rule *item, bool newval); 00135 bool xccdf_item_get_interactive(const struct xccdf_item *item); 00136 bool xccdf_item_set_interactive(struct xccdf_item *item, bool newval); 00137 00138 OSCAP_HIDDEN_END;