Open SCAP Library
src
OVAL
probes
probe
option.h
1
#ifndef OSCAP_PROBE_OPTION_H
2
#define OSCAP_PROBE_OPTION_H
3
4
#define PROBEOPT_VARREF_HANDLING 0
5
#define PROBEOPT_RESULT_CACHING 1
6
#define PROBEOPT_OFFLINE_MODE_SUPPORTED 2
7
8
#define PROBE_OPTION_SET 0
9
#define PROBE_OPTION_GET 1
10
11
#include <stddef.h>
12
#include <stdarg.h>
13
#include "common/util.h"
14
15
typedef
struct
{
16
int
option;
17
int (*handler)(int, int, va_list);
18
}
probe_option_t
;
19
20
extern
size_t
OSCAP_GSYM(probe_optdef_count);
21
extern
probe_option_t
*OSCAP_GSYM(probe_optdef);
22
23
int
probe_setoption(
int
option, ...);
24
int
probe_getoption(
int
option, ...);
25
26
#endif
/* OSCAP_PROBE_OPTION_H */
probe_option_t
Definition:
option.h:15
Generated by
1.8.13