Open SCAP Library
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
src
OVAL
public
oval_agent_xccdf_api.h
Go to the documentation of this file.
1
15
/*
16
* Copyright 2010,2011 Red Hat Inc., Durham, North Carolina.
17
* All Rights Reserved.
18
*
19
* This library is free software; you can redistribute it and/or
20
* modify it under the terms of the GNU Lesser General Public
21
* License as published by the Free Software Foundation; either
22
* version 2.1 of the License, or (at your option) any later version.
23
*
24
* This library is distributed in the hope that it will be useful,
25
* but WITHOUT ANY WARRANTY; without even the implied warranty of
26
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
27
* Lesser General Public License for more details.
28
*
29
* You should have received a copy of the GNU Lesser General Public
30
* License along with this library; if not, write to the Free Software
31
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
32
*
33
*/
34
35
36
#ifndef OVAL_AGENT_XCCDF_API_H_
37
#define OVAL_AGENT_XCCDF_API_H_
38
39
#include <
oscap.h
>
40
#include "
oval_agent_api.h
"
41
#include "
xccdf_policy.h
"
42
52
typedef
xccdf_test_result_type_t
(
xccdf_policy_eval_rule_cb_t
) (
struct
xccdf_policy
* policy,
const
char
* rule_id,
53
const
char
* id,
struct
xccdf_value_binding_iterator * it,
void
* usr);
54
76
xccdf_test_result_type_t
oval_agent_eval_rule
(
struct
xccdf_policy
* policy,
const
char
* rule_id,
const
char
*
id
,
const
char
* href,
77
struct
xccdf_value_binding_iterator * it,
78
struct
xccdf_check_import_iterator
* check_import_it,
79
void
* usr);
80
89
int
oval_agent_resolve_variables
(
struct
oval_agent_session
* session,
struct
xccdf_value_binding_iterator *it);
90
91
99
bool
xccdf_policy_model_register_engine_oval
(
struct
xccdf_policy_model
* model,
struct
oval_agent_session
* sess);
100
109
OSCAP_DEPRECATED
(
void
oval_agent_export_sysinfo_to_xccdf_result
(
struct
oval_agent_session
* session,
struct
xccdf_result
* ritem));
110
115
#endif
Generated by
1.8.3.1