Open SCAP Library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | Data Fields
xccdf_policy_engine Struct Reference

Public Member Functions

xccdf_test_result_type_t xccdf_policy_engine_eval (struct xccdf_policy_engine *engine, struct xccdf_policy *policy, const char *definition_id, const char *href_id, struct oscap_list *value_bindings, struct xccdf_check_import_iterator *check_import_it)
 Execute the eval function of the given checking engine. More...
 
struct oscap_stringlistxccdf_policy_engine_query (struct xccdf_policy_engine *engine, xccdf_policy_engine_query_t query_type, void *query_data)
 Execute the query function of the given checking engine. More...
 

Data Fields

char * system
 Identificator of checking engine.
 
xccdf_policy_engine_eval_fn callback
 format of callback function
 
void * usr
 User data structure.
 
xccdf_policy_engine_query_fn query_fn
 query callback function
 

Member Function Documentation

xccdf_test_result_type_t xccdf_policy_engine_eval ( struct xccdf_policy_engine engine,
struct xccdf_policy policy,
const char *  definition_id,
const char *  href_id,
struct oscap_list value_bindings,
struct xccdf_check_import_iterator check_import_it 
)

Execute the eval function of the given checking engine.

Parameters
engineChecking engine
policyXCCDF Policy
definition_idID of definition to evaluate
href_idThe attribute of check-content-ref
value_bindingsValue binding
check_import_itCheck imports
Returns
result of checking engine evaluation
struct oscap_stringlist * xccdf_policy_engine_query ( struct xccdf_policy_engine engine,
xccdf_policy_engine_query_t  query_type,
void *  query_data 
)

Execute the query function of the given checking engine.

Parameters
engineChecking Engine
query_typeType of a query over checking engine data.
query_dataAdditional data for the checking engine query.
Returns
list of query results

The documentation for this struct was generated from the following files: