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