Debian Codegraph @

src/OVAL/results/oval_results_impl.h

raw symbols SCIP
1 /**
2 * @file oval_results_impl.h
3 * \brief Open Vulnerability and Assessment Language
4 *
5 * See more details at http://oval.mitre.org/
6 */
7
8 /*
9 * Copyright 2009--2013 Red Hat Inc., Durham, North Carolina.
10 * All Rights Reserved.
11 *
12 * This library is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU Lesser General Public
14 * License as published by the Free Software Foundation; either
15 * version 2.1 of the License, or (at your option) any later version.
16 *
17 * This library is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 * Lesser General Public License for more details.
21 *
22 * You should have received a copy of the GNU Lesser General Public
23 * License along with this library; if not, write to the Free Software
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
25 *
26 * Authors:
27 * "David Niemoller" <[email protected]>
28 * Šimon Lukašík
29 */
30
31 #ifndef OVAL_RESULTS_IMPL_H_
32 #define OVAL_RESULTS_IMPL_H_cxx . . $ `src/OVAL/results/oval_results_impl.h:32:9`!
33
34 #include "oval_results.h"cxx . . $ `<file>/src/OVAL/public/oval_results.h`/
35
36 #include "OVAL/oval_definitions_impl.h"cxx . . $ `<file>/src/OVAL/oval_definitions_impl.h`/
37 #include "OVAL/oval_system_characteristics_impl.h"cxx . . $ `<file>/src/OVAL/oval_system_characteristics_impl.h`/
38 #include "OVAL/adt/oval_smc_impl.h"cxx . . $ `<file>/src/OVAL/adt/oval_smc_impl.h`/
39
40 #include "common/list.h"cxx . . $ `<file>/src/common/list.h`/
41 #include "common/util.h"cxx . . $ `<file>/src/common/util.h`/
42 #include "source/oscap_source_priv.h"cxx . . $ `<file>/src/source/oscap_source_priv.h`/
43
44
45 int oval_result_system_parse_tagcxx . . $ oval_result_system_parse_tag(cf369959597901d1).(xmlTextReaderPtrcxx . . $ xmlTextReaderPtr#, struct oval_parser_contextcxx . . $ oval_parser_context# *, void *);
46 xmlNodecxx . . $ xmlNode# *oval_result_system_to_domcxx . . $ oval_result_system_to_dom(e44fcaf67bb152e).(struct oval_result_systemcxx . . $ oval_result_system# *, struct oval_results_modelcxx . . $ oval_results_model# *, struct oval_directives_modelcxx . . $ oval_directives_model# *, xmlDocPtrcxx . . $ xmlDocPtr#, xmlNodecxx . . $ xmlNode# *);
47
48 struct oval_result_testcxx . . $ oval_result_test# *oval_result_system_get_new_testcxx . . $ oval_result_system_get_new_test(5934dc8ae7e49345).(struct oval_result_systemcxx . . $ oval_result_system# *, struct oval_testcxx . . $ oval_test# *, int variable_instance);
49
50 int oval_result_definition_parse_tagcxx . . $ oval_result_definition_parse_tag(cf369959597901d1).(xmlTextReaderPtrcxx . . $ xmlTextReaderPtr#, struct oval_parser_contextcxx . . $ oval_parser_context# *, void *);
51 struct oval_result_definitioncxx . . $ oval_result_definition# *make_result_definition_from_oval_definitioncxx . . $ make_result_definition_from_oval_definition(2bb09844a2d8ada8).(
52 struct oval_result_systemcxx . . $ oval_result_system# *, struct oval_definitioncxx . . $ oval_definition# *,
53 struct oscap_listcxx . . $ oscap_list# *, int variable_instance);
54 xmlNodecxx . . $ xmlNode# *oval_result_definition_to_domcxx . . $ oval_result_definition_to_dom(7afbc4f5eb01480).(struct oval_result_definitioncxx . . $ oval_result_definition# *, oval_result_directive_content_tcxx . . $ oval_result_directive_content_t#, xmlDocPtrcxx . . $ xmlDocPtr#, xmlNodecxx . . $ xmlNode# *);
55 int oval_result_definition_get_variable_instance_hintcxx . . $ oval_result_definition_get_variable_instance_hint(b73401bd23167840).(const struct oval_result_definitioncxx . . $ oval_result_definition# *definition);
56 void oval_result_definition_set_variable_instance_hintcxx . . $ oval_result_definition_set_variable_instance_hint(80549072e4d4fbc0).(struct oval_result_definitioncxx . . $ oval_result_definition# *definition, int new_hint_value);
57
58 struct oval_result_testcxx . . $ oval_result_test# *make_result_test_from_oval_testcxx . . $ make_result_test_from_oval_test(5934dc8ae7e49345).(struct oval_result_systemcxx . . $ oval_result_system# *system, struct oval_testcxx . . $ oval_test# *oval_test, int variable_instance);
59
60 int oval_result_test_parse_tagcxx . . $ oval_result_test_parse_tag(cf369959597901d1).(xmlTextReaderPtrcxx . . $ xmlTextReaderPtr#, struct oval_parser_contextcxx . . $ oval_parser_context# *, void *);
61 xmlNodecxx . . $ xmlNode# *oval_result_test_to_domcxx . . $ oval_result_test_to_dom(280c362fc164a84f).(struct oval_result_testcxx . . $ oval_result_test# *, xmlDocPtrcxx . . $ xmlDocPtr#, xmlNodecxx . . $ xmlNode# *);
62
63
64 int oval_result_item_parse_tagcxx . . $ oval_result_item_parse_tag(5cfa71e0f637957f).(xmlTextReaderPtrcxx . . $ xmlTextReaderPtr#, struct oval_parser_contextcxx . . $ oval_parser_context# *, struct oval_result_systemcxx . . $ oval_result_system# *, oscap_consumer_funccxx . . $ oscap_consumer_func#, void *);
65 xmlNodecxx . . $ xmlNode# *oval_result_item_to_domcxx . . $ oval_result_item_to_dom(97178d8df42fc6df).(struct oval_result_itemcxx . . $ oval_result_item# *, xmlDocPtrcxx . . $ xmlDocPtr#, xmlNodecxx . . $ xmlNode# *);
66
67 struct oval_result_criteria_nodecxx . . $ oval_result_criteria_node# *make_result_criteria_node_from_oval_criteria_nodecxx . . $ make_result_criteria_node_from_oval_criteria_node(97ded6c487808541).(struct oval_result_systemcxx . . $ oval_result_system# *, struct oval_criteria_nodecxx . . $ oval_criteria_node# *, struct oscap_listcxx . . $ oscap_list# *, int variable_instance);
68
69 int oval_result_criteria_node_parsecxx . . $ oval_result_criteria_node_parse(5cfa71e0f637957f).(xmlTextReaderPtrcxx . . $ xmlTextReaderPtr#, struct oval_parser_contextcxx . . $ oval_parser_context# *, struct oval_result_systemcxx . . $ oval_result_system# *, oscap_consumer_funccxx . . $ oscap_consumer_func#, void *);
70 oval_result_tcxx . . $ oval_result_t# oval_result_criteria_node_negatecxx . . $ oval_result_criteria_node_negate(dfb7a8998dd94603).(struct oval_result_criteria_nodecxx . . $ oval_result_criteria_node# *node, oval_result_tcxx . . $ oval_result_t# result);
71 xmlNodecxx . . $ xmlNode# *oval_result_criteria_node_to_domcxx . . $ oval_result_criteria_node_to_dom(5626c2c640298092).(struct oval_result_criteria_nodecxx . . $ oval_result_criteria_node# *, xmlDocPtrcxx . . $ xmlDocPtr#, xmlNodecxx . . $ xmlNode# *);
72
73 oval_result_tcxx . . $ oval_result_t# oval_result_parsecxx . . $ oval_result_parse(7314a5850c06c36d).(xmlTextReaderPtrcxx . . $ xmlTextReaderPtr#, char *, oval_result_tcxx . . $ oval_result_t#);
74
75 struct oval_result_definitioncxx . . $ oval_result_definition# *oval_result_system_get_new_definitioncxx . . $ oval_result_system_get_new_definition(7d495e95dbf76cc4).(struct oval_result_systemcxx . . $ oval_result_system# *,
76 struct oval_definitioncxx . . $ oval_definition# *,
77 int variable_instance);
78 struct oval_result_definitioncxx . . $ oval_result_definition# *oval_result_system_get_new_definition_with_checkcxx . . $ oval_result_system_get_new_definition_with_check(2bb09844a2d8ada8).(struct oval_result_systemcxx . . $ oval_result_system# *, struct oval_definitioncxx . . $ oval_definition# *, struct oscap_listcxx . . $ oscap_list# *, int);
79
80 struct oval_result_testcxx . . $ oval_result_test# *oval_result_system_get_testcxx . . $ oval_result_system_get_test(17a46a2b354fb6eb).(struct oval_result_systemcxx . . $ oval_result_system# *, char *);
81
82 struct oresultscxx . . $ oresults# {
83 int true_cntcxx . . $ oresults#true_cnt.;
84 int false_cntcxx . . $ oresults#false_cnt.;
85 int unknown_cntcxx . . $ oresults#unknown_cnt.;
86 int error_cntcxx . . $ oresults#error_cnt.;
87 int noteval_cntcxx . . $ oresults#noteval_cnt.;
88 int notappl_cntcxx . . $ oresults#notappl_cnt.;
89 };
90
91 int ores_add_rescxx . . $ ores_add_res(a8d562e6ba457016).(struct oresultscxx . . $ oresults# *ores, oval_result_tcxx . . $ oval_result_t# res);
92 void ores_clearcxx . . $ ores_clear(35cef2d1a5f4f1bc).(struct oresultscxx . . $ oresults# *ores);
93 oval_result_tcxx . . $ oval_result_t# ores_get_result_bychkcxx . . $ ores_get_result_bychk(7e1e77bf9117db0c).(struct oresultscxx . . $ oresults# *ores, oval_check_tcxx . . $ oval_check_t# check);
94 oval_result_tcxx . . $ oval_result_t# ores_get_result_byoprcxx . . $ ores_get_result_byopr(81735a73c930a9ac).(struct oresultscxx . . $ oresults# *ores, oval_operator_tcxx . . $ oval_operator_t# op);
95
96 #if defined(OVAL_PROBES_ENABLEDcxx . . $ `build/config.h:67:9`!)
97 struct oval_results_modelcxx . . $ oval_results_model# *oval_results_model_new_with_probe_sessioncxx . . $ oval_results_model_new_with_probe_session(74df71793201c17c).(struct oval_definition_modelcxx . . $ oval_definition_model# *definition_model, struct oval_syschar_modelcxx . . $ oval_syschar_model# **syschar_models, struct oval_probe_sessioncxx . . $ oval_probe_session# *probe_session);
98 #endif
99 struct oval_probe_sessioncxx . . $ oval_probe_session# *oval_results_model_get_probe_sessioncxx . . $ oval_results_model_get_probe_session(1396dcf88ea060a7).(struct oval_results_modelcxx . . $ oval_results_model# *model);
100 void oval_results_model_add_systemcxx . . $ oval_results_model_add_system(534eb56ec1b2aed7).(struct oval_results_modelcxx . . $ oval_results_model# *, struct oval_result_systemcxx . . $ oval_result_system# *);
101
102 struct oval_result_definition_iteratorcxx . . $ oval_result_definition_iterator# *oval_result_definition_iterator_newcxx . . $ oval_result_definition_iterator_new(6798a792d4e34f5e).(struct oval_smccxx . . $ oval_smc# *mapping);
103 struct oval_result_test_iteratorcxx . . $ oval_result_test_iterator# *oval_result_test_iterator_newcxx . . $ oval_result_test_iterator_new(6f017dbdf26e7cc4).(struct oval_smccxx . . $ oval_smc# *mapping);
104
105 const char *oval_result_test_get_idcxx . . $ oval_result_test_get_id(a65fe3b568e8bf5).(const struct oval_result_testcxx . . $ oval_result_test# *test);
106
107
108 struct oval_result_definitioncxx . . $ oval_result_definition# *oval_result_system_prepare_definitioncxx . . $ oval_result_system_prepare_definition(414735f8b374de5f).(struct oval_result_systemcxx . . $ oval_result_system# *sys, const char *id);
109
110
111 #endif /* OVAL_RESULTS_IMPL_H_ */