PROBEHANDLERS

Data Structures

struct  oval_ph
struct  oval_phtbl

Defines

#define PROBE_HANDLER_ACT_INIT   0
#define PROBE_HANDLER_ACT_FREE   1
#define PROBE_HANDLER_ACT_OPEN   2
#define PROBE_HANDLER_ACT_EVAL   3
#define PROBE_HANDLER_ACT_RESET   4
#define PROBE_HANDLER_ACT_CLOSE   5
#define PROBE_HANDLER_IGNORE   NULL

Typedefs

typedef struct oval_phtbl oval_phtbl_t
typedef struct oval_ph oval_ph_t
typedef int( oval_probe_handler_t )(oval_subtype_t, void *, int,...)
 Type of the handler function.

Functions

oval_phtbl_toval_phtbl_new (void)
void oval_phtbl_free (oval_phtbl_t *phtbl)
oval_ph_toval_probe_handler_get (oval_phtbl_t *phtbl, oval_subtype_t type)
int oval_probe_handler_set (oval_phtbl_t *phtbl, oval_subtype_t type, oval_probe_handler_t *handler, void *uptr)

Variables

oval_probe_handler_toval_ph::func
void * oval_ph::uptr
uint32_t oval_phtbl::sz

Typedef Documentation

typedef int( oval_probe_handler_t)(oval_subtype_t, void *, int,...)

Type of the handler function.

This function takes care of handling all the actions defined bellow, that is: initialization, freeing, opening, evaluating, reseting and closing (whatever that means in your particular case).


Generated on 14 Jul 2010 for Open SCAP Library by  doxygen 1.6.1