00001 #ifndef OSCAP_PROBE_OPTION_H
00002 #define OSCAP_PROBE_OPTION_H
00003
00004 #define PROBEOPT_VARREF_HANDLING 0
00005 #define PROBEOPT_RESULT_CACHING 1
00006 #define PROBEOPT_OFFLINE_MODE_SUPPORTED 2
00007
00008 #define PROBE_OPTION_SET 0
00009 #define PROBE_OPTION_GET 1
00010
00011 #include <stddef.h>
00012 #include <stdarg.h>
00013 #include "common/util.h"
00014
00015 typedef struct {
00016 int option;
00017 int (*handler)(int, int, va_list);
00018 } probe_option_t;
00019
00020 extern size_t OSCAP_GSYM(probe_optdef_count);
00021 extern probe_option_t *OSCAP_GSYM(probe_optdef);
00022
00023 int probe_setoption(int option, ...);
00024 int probe_getoption(int option, ...);
00025
00026 #endif