Open SCAP Library: oval_probe_meta.h Source File

Open SCAP Library

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

- File List
- Globals

oval_probe_meta.h
1 /*
2 * Copyright 2011 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 * Authors:
20 * "Daniel Kopecek" <dkopecek@redhat.com>
21 */
22 #ifndef OVAL_PROBE_META_H
23 #define OVAL_PROBE_META_H
24
25 #include <stdint.h>
26 #include "public/oval_types.h"
27 #include "_oval_probe_handler.h"
28
29 typedef struct {
30 oval_subtype_t otype;
31 const char *stype;
32 oval_probe_handler_t *handler;
33 uint32_t flags;
34 const char *pname;
35 } oval_probe_meta_t;
36
37 extern oval_probe_meta_t OSCAP_GSYM(__probe_meta)[];
38 extern size_t OSCAP_GSYM(__probe_meta_count);
39 extern oval_subtypedsc_t OSCAP_GSYM(__s2n_tbl)[];
40 extern oval_subtypedsc_t OSCAP_GSYM(__n2s_tbl)[];
41
42 #define OVAL_PROBEMETA_EXTERNAL 0x00000001
47 #define OVAL_PROBE_EXTERNAL(subtype, strtype) {(subtype), (strtype), &oval_probe_ext_handler, OVAL_PROBEMETA_EXTERNAL, "probe_"strtype}
48
49 #endif /* OVAL_PROBE_META_H */
oval_subtype_t
oval_subtype_t
Unknown subtypes.
Definition: oval_types.h:120
oval_types.h
oval_probe_handler_t
int( oval_probe_handler_t)(oval_subtype_t, void *, int,...)
Type of the handler function.
Definition: oval_probe_handler.h:44
oval_subtypedsc_t
Definition: oval_probe_impl.h:64
_oval_probe_handler.h
OVAL probe handler private header.
oval_probe_meta_t
Definition: oval_probe_meta.h:29