00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #include "config.h"
00024 #pragma once
00025 #ifndef OVAL_PROBE_IMPL_H
00026 #define OVAL_PROBE_IMPL_H
00027
00028 #include <config.h>
00029 #ifdef ENABLE_PROBES
00030
00031 #include <seap-types.h>
00032 #include "oval_definitions_impl.h"
00033 #include "oval_agent_api_impl.h"
00034 #include "oval_parser_impl.h"
00035 #include "oval_string_map_impl.h"
00036 #include "public/oval_system_characteristics.h"
00037 #include "../common/util.h"
00038 #include "public/oval_probe.h"
00039 #include "probes/_probe-api.h"
00040
00041 #include "public/oval_probe_session.h"
00042 #include "public/oval_probe_handler.h"
00043 #include "public/oval_probe.h"
00044
00045 OSCAP_HIDDEN_START;
00046
00047 #define OVAL_PROBE_SCHEME "pipe"
00048
00049 #ifndef OVAL_PROBE_DIR
00050 # define OVAL_PROBE_DIR "/usr/libexec/openscap"
00051 #endif
00052
00053 #define OVAL_PROBE_MAXRETRY 3
00054
00055 OSCAP_HIDDEN_END;
00056
00057 extern encache_t *OSCAP_GSYM(encache);
00058
00059 #endif
00060
00061 typedef struct {
00062 oval_subtype_t type;
00063 char *name;
00064 } oval_subtypedsc_t;
00065
00066 const char *oval_subtype2str(oval_subtype_t subtype);
00067 oval_subtype_t oval_str2subtype(const char *str);
00068
00069 #endif