Open SCAP Library

oval_probe_handler.h
1
9 /*
10 * Copyright 2010 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 #ifndef OVAL_PROBE_HANDLER
31 #define OVAL_PROBE_HANDLER
32
33 #include "oval_definitions.h"
34
35 typedef struct oval_phtbl oval_phtbl_t;
36 typedef struct oval_ph oval_ph_t;
37
44 typedef int (oval_probe_handler_t)(oval_subtype_t, void *, int, ...);
45
46 #define PROBE_HANDLER_ACT_INIT 0
47 #define PROBE_HANDLER_ACT_FREE 1
48 #define PROBE_HANDLER_ACT_OPEN 2
49 #define PROBE_HANDLER_ACT_EVAL 3
50 #define PROBE_HANDLER_ACT_RESET 4
51 #define PROBE_HANDLER_ACT_CLOSE 5
52 #define PROBE_HANDLER_ACT_ABORT 6
53
54 #define PROBE_HANDLER_IGNORE NULL
55
56 #endif /* OVAL_PROBE_HANDLER */
57
oval_subtype_t
oval_subtype_t
Unknown subtypes.
Definition: oval_types.h:120
oval_phtbl
Definition: _oval_probe_handler.h:42
oval_ph
Definition: _oval_probe_handler.h:36
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_definitions.h