Open SCAP Library: oval_probe_impl.h Source File

Open SCAP Library

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

oval_probe_impl.h
Go to the documentation of this file.
1
9 /*
10 * Copyright 2009--2013 Red Hat Inc., Durham, North Carolina.
11 * All Rights Reserved.
12 *
13 * This library is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU Lesser General Public
15 * License as published by the Free Software Foundation; either
16 * version 2.1 of the License, or (at your option) any later version.
17 *
18 * This library is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 * Lesser General Public License for more details.
22 *
23 * You should have received a copy of the GNU Lesser General Public
24 * License along with this library; if not, write to the Free Software
25 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26 *
27 * Authors:
28 * "Daniel Kopecek" <dkopecek@redhat.com>
29 */
30
31 #pragma once
32 #ifndef OVAL_PROBE_IMPL_H
33 #define OVAL_PROBE_IMPL_H
34
35 #include <seap-types.h>
36 #include "oval_definitions_impl.h"
37 #include "oval_agent_api_impl.h"
38 #include "oval_parser_impl.h"
39 #include "public/oval_system_characteristics.h"
40 #include "../common/util.h"
41 #include "public/oval_probe.h"
42 #include "probes/_probe-api.h"
43
44 #include "public/oval_probe_session.h"
45 #include "public/oval_probe_handler.h"
46 #include "public/oval_probe.h"
47
48 OSCAP_HIDDEN_START;
49
50 #define OVAL_PROBE_SCHEME "pipe"
51
52 #ifndef OVAL_PROBE_DIR
53 # define OVAL_PROBE_DIR "/usr/libexec/openscap"
54 #endif
55
56 #define OVAL_PROBE_MAXRETRY 0
57
58 OSCAP_HIDDEN_END;
59
60 extern probe_ncache_t *OSCAP_GSYM(ncache);
61
62 typedef struct {
63 oval_subtype_t type;
64 const char *name;
65 } oval_subtypedsc_t;
66
67 void oval_probe_tblinit(void);
68 const char *oval_subtype_to_str(oval_subtype_t subtype);
69 oval_subtype_t oval_str_to_subtype(const char *str);
70
71 int oval_probe_hint_definition(oval_probe_session_t *sess, struct oval_definition *definition, int variable_instance_hint);
72
73 #endif /* OVAL_PROBE_IMPL_H */
74
oval_subtype_t
oval_subtype_t
Unknown subtypes.
Definition: oval_types.h:120
oval_definition
Oval definition specification.
Definition: oval_definition.c:54
oval_probe_session.h
OVAL probe session API private header.
probe_ncache_t
Element name cache structure.
Definition: ncache.h:36
oval_subtypedsc_t
Definition: oval_probe_impl.h:62
oval_probe.h
OVAL probe interface API public header.
oval_system_characteristics.h
oval_parser_impl.h
Open Vulnerability and Assessment Language.
oval_agent_api_impl.h
Open Vulnerability and Assessment Language.
oval_definitions_impl.h
Open Vulnerability and Assessment Language.
_probe-api.h
probe API private header file
oval_probe_session
OVAL probe session structure.
Definition: _oval_probe_session.h:42
oval_probe_hint_definition
int oval_probe_hint_definition(oval_probe_session_t *sess, struct oval_definition *definition, int variable_instance_hint)
Finds all the oval_syschars (collected objects) assigned with a given definition and sets the variabl...
Definition: oval_probe_hint.c:45