Open SCAP Library
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);
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 */
Definition: option.h:15