/home/brq/plautrba/devel/src/openscap.git/openscap-0.8.2/src/OVAL/public/oval_agent_api.h File Reference

#include "oval_definitions.h"
#include "oval_system_characteristics.h"
#include "oval_results.h"
#include "oval_variables.h"
#include "oval_probe.h"
#include "reporter.h"

Go to the source code of this file.

Typedefs

typedef struct oval_agent_session oval_agent_session_t
 Agent session consists of connection to system checking engine, definition model, system characteristics model and results model.

Functions

oval_agent_session_toval_agent_new_session (struct oval_definition_model *model, const char *name)
 Create new session for OVAL agent from OVAL definition model.
void oval_agent_set_generator_template (oval_agent_session_t *, struct oval_generator *)
 Set a generator template for the provided agent session.
struct oval_generatoroval_agent_get_generator_template (oval_agent_session_t *)
 Get the current generator template from the session.
int oval_agent_eval_definition (oval_agent_session_t *, const char *)
 Probe the system and evaluate specified definition.
int oval_agent_get_definition_result (oval_agent_session_t *, const char *, oval_result_t *)
 Get the OVAL result of a definition from an agent session.
int oval_agent_reset_session (oval_agent_session_t *ag_sess)
 Clean resuls that were generated in this agent session.
int oval_agent_abort_session (oval_agent_session_t *ag_sess)
 Abort a running probe session.
int oval_agent_eval_system (oval_agent_session_t *ag_sess, oscap_reporter cb, void *arg)
 Probe and evaluate all definitions from the content, call the callback functions upon single evaluation.
struct oval_results_modeloval_agent_get_results_model (oval_agent_session_t *ag_sess)
 Get a result model from agent session.
const char * oval_agent_get_filename (oval_agent_session_t *ag_sess)
 Get a filename under which was created.
void oval_agent_destroy_session (oval_agent_session_t *ag_sess)
 Finish OVAL agent session.

Detailed Description

Author:
"David Niemoller" <David.Niemoller@g2-inc.com>
"Peter Vrabec" <pvrabec@gmail.com>

Generated on 30 Mar 2012 for Open SCAP Library by  doxygen 1.6.1