|
Open SCAP Library
|
00001 00015 /* 00016 * Copyright 2010,2011 Red Hat Inc., Durham, North Carolina. 00017 * All Rights Reserved. 00018 * 00019 * This library is free software; you can redistribute it and/or 00020 * modify it under the terms of the GNU Lesser General Public 00021 * License as published by the Free Software Foundation; either 00022 * version 2.1 of the License, or (at your option) any later version. 00023 * 00024 * This library is distributed in the hope that it will be useful, 00025 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00026 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00027 * Lesser General Public License for more details. 00028 * 00029 * You should have received a copy of the GNU Lesser General Public 00030 * License along with this library; if not, write to the Free Software 00031 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00032 * 00033 */ 00034 00035 00036 #ifndef OVAL_AGENT_XCCDF_API_H_ 00037 #define OVAL_AGENT_XCCDF_API_H_ 00038 00039 #include <oscap.h> 00040 #include "oval_agent_api.h" 00041 #include "xccdf_policy.h" 00042 00052 typedef xccdf_test_result_type_t (xccdf_policy_eval_rule_cb_t) (struct xccdf_policy * policy, const char * rule_id, 00053 const char * id, struct xccdf_value_binding_iterator * it, void * usr); 00054 00076 xccdf_test_result_type_t oval_agent_eval_rule(struct xccdf_policy * policy, const char * rule_id, const char * id, const char * href, 00077 struct xccdf_value_binding_iterator * it, 00078 struct xccdf_check_import_iterator * check_import_it, 00079 void * usr); 00080 00089 int oval_agent_resolve_variables(struct oval_agent_session * session, struct xccdf_value_binding_iterator *it); 00090 00091 00099 bool xccdf_policy_model_register_engine_oval(struct xccdf_policy_model * model, struct oval_agent_session * sess); 00100 00109 OSCAP_DEPRECATED(void oval_agent_export_sysinfo_to_xccdf_result(struct oval_agent_session * session, struct xccdf_result * ritem)); 00110 00115 #endif
1.7.3