Open SCAP Library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
result_scoring_priv.h
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18  *
19  */
20 #ifndef OSCAP_XCCDF_RESULT_SCORING_H
21 #define OSCAP_XCCDF_RESULT_SCORING_H
22 
23 #ifdef HAVE_CONFIG_H
24 #include <config.h>
25 #endif
26 
27 #include <stdlib.h>
28 #include <string.h>
29 
30 #include "common/public/oscap.h"
31 #include "common/util.h"
32 #include "public/xccdf_benchmark.h"
33 
34 OSCAP_HIDDEN_START;
35 
43 struct xccdf_score *xccdf_result_calculate_score(struct xccdf_result *test_result, struct xccdf_item *benchmark, const char *score_system);
44 
45 OSCAP_HIDDEN_END;
46 #endif
General OpenScap functions and types.
XCCDF score.
Definition: item.h:370
struct xccdf_score * xccdf_result_calculate_score(struct xccdf_result *test_result, struct xccdf_item *benchmark, const char *score_system)
Calculate new XCCDF Score for given xccdf:TestResult.
Definition: result_scoring.c:251
Actual results of running a XCCDF test or profile.
Definition: xccdf_benchmark.h:232
Open-scap XCCDF library interface.
A base class for XCCDF items.
Definition: item.h:221