Open SCAP Library
Loading...
Searching...
No Matches
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
7#define PROBE_OPTION_SET 0
8#define PROBE_OPTION_GET 1
9
10#include <stddef.h>
11#include <stdarg.h>
12#include "common/util.h"
13
14typedef struct {
15 int option;
16 int (*handler)(int, int, va_list);
18
19extern size_t OSCAP_GSYM(probe_optdef_count);
20extern probe_option_t *OSCAP_GSYM(probe_optdef);
21
22int probe_setoption(int option, ...);
23int probe_getoption(int option, ...);
24
25#endif /* OSCAP_PROBE_OPTION_H */
Definition option.h:14