00001
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 #pragma once
00031 #ifndef OVAL_PROBE_H
00032 #define OVAL_PROBE_H
00033
00034 #include <stdarg.h>
00035 #include <stdint.h>
00036 #include "oval_definitions.h"
00037 #include "oval_system_characteristics.h"
00038 #include "oval_probe_session.h"
00039
00040
00041
00042
00043 #define OVAL_PDFLAG_NOREPLY 0x0001
00044 #define OVAL_PDFLAG_NORECONN 0x0002
00045 #define OVAL_PDGLAG_RUNALL 0x0004
00046 #define OVAL_PDFLAG_RUNNOW 0x0008
00047 #define OVAL_PDFLAG_SLAVE 0x0010
00048
00049 #define OVAL_PDFLAG_MASK (0x0001|0x0002|0x0004|0x0008|0x0010)
00050
00056 int oval_probe_query_sysinfo(oval_probe_session_t *sess, struct oval_sysinfo **out_sysinfo) __attribute__ ((nonnull(1, 2)));
00057
00063 int oval_probe_query_object(oval_probe_session_t *psess, struct oval_object *object, int flags, struct oval_syschar **out_syschar) __attribute__ ((nonnull(1, 2)));
00064
00071 int oval_probe_query_definition(oval_probe_session_t *sess, const char *id) __attribute__ ((nonnull(1, 2)));
00072
00079 int oval_probe_query_variable(oval_probe_session_t *sess, struct oval_variable *variable);
00080
00081 #define OVAL_PROBEMETA_LIST_VERBOSE 0x00000001
00082 #define OVAL_PROBEMETA_LIST_DYNAMIC 0x00000002
00084 void oval_probe_meta_list(FILE *output, int flags);
00085
00086 #endif