Open SCAP Library
Loading...
Searching...
No Matches
oval_status_counter.h
1/*
2 * Copyright 2015 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 * Authors:
20 * "Jan Černý" <jcerny@redhat.com>
21 */
22
23#ifndef OSCAP_OVAL_STATUS_COUNTER_H_
24#define OSCAP_OVAL_STATUS_COUNTER_H_
25
26#include "../common/util.h"
27#include "oval_definitions.h"
28#include "oval_types.h"
30
31
33 int error_cnt;
34 int exists_cnt;
35 int does_not_exist_cnt;
36 int not_collected_cnt;
37};
38
39void oval_status_counter_clear(struct oval_status_counter *counter);
40void oval_status_counter_add_status(struct oval_status_counter *counter, oval_syschar_status_t status);
41oval_result_t oval_status_counter_get_result(struct oval_status_counter *counter, oval_existence_t check_existence);
42
43
44#endif
oval_existence_t
Existence check enumeration.
Definition oval_definitions.h:103
oval_result_t
Result values for the evaluation of an OVAL Definition or an OVAL Test.
Definition oval_types.h:445
oval_syschar_status_t
System characteristics status.
Definition oval_system_characteristics.h:61
Definition oval_status_counter.h:32