00001
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036 #ifndef OVAL_AGENT_XCCDF_API_H_
00037 #define OVAL_AGENT_XCCDF_API_H_
00038
00039 #include "oval_agent_api.h"
00040 #include "xccdf_policy.h"
00041
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
00070 xccdf_test_result_type_t oval_agent_eval_rule(struct xccdf_policy * policy, const char * rule_id, const char * id, const char * href,
00071 struct xccdf_value_binding_iterator * it,
00072 struct xccdf_check_import_iterator * check_import_it,
00073 void * usr);
00074
00083 int oval_agent_resolve_variables(struct oval_agent_session * session, struct xccdf_value_binding_iterator *it);
00084
00085
00093 bool xccdf_policy_model_register_engine_oval(struct xccdf_policy_model * model, struct oval_agent_session * sess);
00094
00103 void oval_agent_export_sysinfo_to_xccdf_result(struct oval_agent_session * session, struct xccdf_result * ritem);
00104
00109 #endif