PROBEINTERFACE

Data Structures

struct  oval_subtypedsc_t

Defines

#define OVAL_PDFLAG_NOREPLY   0x0001
 don't send probe result to library - just an ack
#define OVAL_PDFLAG_NORECONN   0x0002
 don't try to reconnect on fatal errors
#define OVAL_PDGLAG_RUNALL   0x0004
 execute all probes when executing the first
#define OVAL_PDFLAG_RUNNOW   0x0008
 execute all probes immediately
#define OVAL_PDFLAG_MASK   (0x0001|0x0002|0x0004|0x0008)

Functions

const char * oval_subtype2str (oval_subtype_t subtype)
oval_subtype_t oval_str2subtype (const char *str)
struct oval_sysinfooval_probe_query_sysinfo (oval_probe_session_t *sess) __attribute__((nonnull(1)))
 Evaluate system info probe.
struct oval_syscharoval_probe_query_object (oval_probe_session_t *sess, struct oval_object *object, int flags) __attribute__((nonnull(1
 Evaluate an object.
struct oval_syschar *int oval_probe_query_objects (oval_probe_session_t *sess) __attribute__((nonnull(1)))
 Probe all objects and update system characteristic model in the session.
int oval_probe_query_definition (oval_probe_session_t *sess, const char *id) __attribute__((nonnull(1
 Probe objects required for the evalatuation of the specified definition and update the system characteristics model associated with the session.
int 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.

Variables

char * oval_subtypedsc_t::name

Function Documentation

int oval_probe_query_definition ( oval_probe_session_t sess,
const char *  id 
)

Probe objects required for the evalatuation of the specified definition and update the system characteristics model associated with the session.

Parameters:
sess probe session
id definition id
Returns:
0 on success
struct oval_syschar* oval_probe_query_object ( oval_probe_session_t sess,
struct oval_object object,
int  flags 
) [read]

Evaluate an object.

Parameters:
sess probe session
object the object to evaluate
struct oval_syschar* int oval_probe_query_objects ( oval_probe_session_t sess  ) 

Probe all objects and update system characteristic model in the session.

Parameters:
sess probe session
Returns:
0 on success
struct oval_sysinfo* oval_probe_query_sysinfo ( oval_probe_session_t sess  )  [read]

Evaluate system info probe.

Parameters:
sess probe session
int 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.

Parameters:
sess probe session
variable the variable to query
Returns:
0 on success

Generated on 27 Aug 2010 for Open SCAP Library by  doxygen 1.6.1