Open SCAP Library
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
xccdf_policy_engine Struct Reference
Collaboration diagram for xccdf_policy_engine:
[legend]

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.
 
struct oscap_listxccdf_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.
 

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_policy_engine_eval()

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 @href attribute of check-content-ref
value_bindingsValue binding
check_import_itCheck imports
Returns
result of checking engine evaluation

◆ xccdf_policy_engine_query()

struct oscap_list * 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: