37 #ifndef OVAL_AGENT_API_H_
38 #define OVAL_AGENT_API_H_
Definition: oval_agent.c:53
OVAL Results Model holds OVAL results structure instances.
Definition: oval_resModel.c:54
const char * oval_agent_get_filename(oval_agent_session_t *ag_sess)
Get a filename under which was created.
Definition: oval_agent.c:293
oval_agent_session_t * oval_agent_new_session(struct oval_definition_model *model, const char *name)
Create new session for OVAL agent from OVAL definition model.
Definition: oval_agent.c:89
int oval_agent_reset_session(oval_agent_session_t *ag_sess)
Clean resuls that were generated in this agent session.
Definition: oval_agent.c:208
int oval_agent_abort_session(oval_agent_session_t *ag_sess)
Abort a running probe session.
Definition: oval_agent.c:239
void oval_agent_set_product_name(oval_agent_session_t *ag_sess, char *product_name)
Set a product name for the provided agent session.
Definition: oval_agent.c:137
struct oval_results_model * oval_agent_get_results_model(oval_agent_session_t *ag_sess)
Get a result model from agent session.
Definition: oval_agent.c:287
int oval_agent_eval_definition(oval_agent_session_t *ag_sess, const char *id)
Probe the system and evaluate specified definition.
Definition: oval_agent.c:161
OVAL probe interface API public header.
int oval_agent_get_definition_result(oval_agent_session_t *ag_sess, const char *id, oval_result_t *result)
Get the OVAL result of a definition from an agent session.
Definition: oval_agent.c:173
void oval_agent_destroy_session(oval_agent_session_t *ag_sess)
Finish OVAL agent session.
Definition: oval_agent.c:299
struct oval_definition_model * oval_agent_get_definition_model(oval_agent_session_t *ag_sess)
Retrieves OVAL definition model associated with given session.
Definition: oval_agent.c:132
struct oval_result_definition * oval_agent_get_result_definition(oval_agent_session_t *ag_sess, const char *id)
Get the OVAL result definition from an agent session.
Definition: oval_agent.c:195
oval_result_t
Result values for the evaluation of an OVAL Definition or an OVAL Test.
Definition: oval_types.h:327
Definition: oval_resultDefinition.c:46
Oval definition model.
Definition: oval_defModel.c:51
int oval_agent_eval_system(oval_agent_session_t *ag_sess, agent_reporter cb, void *arg)
Probe and evaluate all definitions from the content, call the callback functions upon single evaluati...
Definition: oval_agent.c:247