Open SCAP Library
/home/pvrabec/project/openscap/openscap-0.7.3/src/OVAL/oval_probe_impl.h
Go to the documentation of this file.
00001 
00009 /*
00010  * Copyright 2009-2010 Red Hat Inc., Durham, North Carolina.
00011  * All Rights Reserved.
00012  *
00013  * This library is free software; you can redistribute it and/or
00014  * modify it under the terms of the GNU Lesser General Public
00015  * License as published by the Free Software Foundation; either
00016  * version 2.1 of the License, or (at your option) any later version.
00017  *
00018  * This library is distributed in the hope that it will be useful,
00019  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00020  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00021  * Lesser General Public License for more details.
00022  *
00023  * You should have received a copy of the GNU Lesser General Public
00024  * License along with this library; if not, write to the Free Software
00025  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00026  *
00027  * Authors:
00028  *      "Daniel Kopecek" <dkopecek@redhat.com>
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(encache);
00064 
00065 #endif /* ENABLE_PROBES */
00066 
00067 typedef struct {
00068         oval_subtype_t type;
00069         char          *name;
00070 } oval_subtypedsc_t;
00071 
00072 const char *oval_subtype2str(oval_subtype_t subtype);
00073 oval_subtype_t oval_str2subtype(const char *str);
00074 
00075 #endif /* OVAL_PROBE_IMPL_H */