Open SCAP Library
src
XCCDF
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
42
struct
xccdf_score
*
xccdf_result_calculate_score
(
struct
xccdf_result
*test_result,
struct
xccdf_item
*benchmark,
const
char
*score_system);
43
44
#endif
xccdf_result::xccdf_result_calculate_score
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
oscap.h
xccdf_benchmark.h
xccdf_item
Definition:
item.h:220
xccdf_score
Definition:
item.h:369
xccdf_result
Definition:
xccdf_benchmark.h:233
Generated by
1.8.17