Open SCAP Library
|
Data Structures | |
struct | oval_subtypedsc_t |
Functions | |
int | oval_probe_query_test (oval_probe_session_t *sess, struct oval_test *test) |
probe_ncache_t * | OSCAP_GSYM (ncache) |
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) |
Finds all the oval_syschars (collected objects) assigned with a given definition and sets the variable_instance_hint attribute thereof. More... | |
OSCAP_API int | oval_probe_query_sysinfo (oval_probe_session_t *sess, struct oval_sysinfo **out_sysinfo) __attribute__((nonnull(1 |
Evaluate system info probe. More... | |
OSCAP_API int OSCAP_API int | oval_probe_query_object (oval_probe_session_t *psess, struct oval_object *object, int flags, struct oval_syschar **out_syschar) __attribute__((nonnull(1 |
Evaluate an object. More... | |
OSCAP_API int OSCAP_API int OSCAP_API int | oval_probe_query_variable (oval_probe_session_t *sess, struct oval_variable *variable) |
Query the specified variable and all its dependencies in order to compute the vector of its values. More... | |
int oval_probe_hint_definition | ( | oval_probe_session_t * | sess, |
struct oval_definition * | definition, | ||
int | variable_instance_hint | ||
) |
Finds all the oval_syschars (collected objects) assigned with a given definition and sets the variable_instance_hint attribute thereof.
That is to mark these collected objects with the hint that a new round of collection might be needed when these objects are again probed by oval_probe_query_object. That is usefull when a new variable instance is injected into the oval_agent_session.
variable_instance_hint | new hint to set |
OSCAP_API int OSCAP_API int oval_probe_query_object | ( | oval_probe_session_t * | psess, |
struct oval_object * | object, | ||
int | flags, | ||
struct oval_syschar ** | out_syschar | ||
) |
Evaluate an object.
sess | probe session |
object | the object to evaluate |
OSCAP_API int oval_probe_query_sysinfo | ( | oval_probe_session_t * | sess, |
struct oval_sysinfo ** | out_sysinfo | ||
) |
Evaluate system info probe.
sess | probe session |
out_sysinfo | address of a pointer to hold the result |
OSCAP_API int OSCAP_API int OSCAP_API int oval_probe_query_variable | ( | oval_probe_session_t * | sess, |
struct oval_variable * | variable | ||
) |
Query the specified variable and all its dependencies in order to compute the vector of its values.
sess | probe session |
variable | the variable to query |