/** * @file oval_probe_impl.h * @brief OVAL probe interface private header * @author "Daniel Kopecek" * * @addtogroup PROBEINTERFACE * @{ */ /* * Copyright 2009--2013 Red Hat Inc., Durham, North Carolina. * All Rights Reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Authors: * "Daniel Kopecek" */ #pragma once #ifndef OVAL_PROBE_IMPL_H #define OVAL_PROBE_IMPL_H #include "oval_definitions_impl.h" #include "oval_agent_api_impl.h" #include "oval_parser_impl.h" #include "public/oval_system_characteristics.h" #include "../common/util.h" #include "public/oval_probe.h" #include "probes/_probe-api.h" #include "public/oval_probe_session.h" #include "public/oval_probe.h" #define OVAL_PROBE_SCHEME "queue" #define OVAL_PROBE_MAXRETRY 0 int oval_probe_query_test(oval_probe_session_t *sess, struct oval_test *test); extern probe_ncache_t *OSCAP_GSYM(ncache); typedef struct { oval_subtype_t type; const char *name; } oval_subtypedsc_t; void oval_probe_tblinit(void); const char *oval_subtype_to_str(oval_subtype_t subtype); int oval_probe_hint_definition(oval_probe_session_t *sess, struct oval_definition *definition, int variable_instance_hint); #endif /* OVAL_PROBE_IMPL_H */ /// @}