Debian Codegraph @

src/XCCDF/result_scoring_priv.h

raw symbols SCIP
1 /*
2 * Copyright 2014 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 */
20 #ifndef OSCAP_XCCDF_RESULT_SCORING_H
21 #define OSCAP_XCCDF_RESULT_SCORING_Hcxx . . $ `src/XCCDF/result_scoring_priv.h:21:9`!
22
23 #ifdef HAVE_CONFIG_Hcxx . . $ `<built-in>:409:9`!
24 #include <config.h>cxx . . $ `<file>/build/config.h`/
25 #endif
26
27 #include <stdlib.h>
28 #include <string.h>
29
30 #include "common/public/oscap.h"cxx . . $ `<file>/src/common/public/oscap.h`/
31 #include "common/util.h"cxx . . $ `<file>/src/common/util.h`/
32 #include "public/xccdf_benchmark.h"cxx . . $ `<file>/src/XCCDF/public/xccdf_benchmark.h`/
33
34
35 /**
36 * Calculate new XCCDF Score for given xccdf:TestResult
37 * @memberof xccdf_result
38 * @param test_result XCCDF TestResult
39 * @param benchmark XCCDF Benchmark which is origin of given XCCDF TestResult
40 * @param score_system Scoring Model URI as described in XCCDF standard.
41 */
42 struct xccdf_scorecxx . . $ xccdf_score# *xccdf_result_calculate_scorecxx . . $ xccdf_result_calculate_score(8cf0e8d85d748892).(struct xccdf_resultcxx . . $ xccdf_result# *test_result, struct xccdf_itemcxx . . $ xccdf_item# *benchmark, const char *score_system);
43
44 #endif