#include <stdarg.h>
#include <stdint.h>
#include "oval_definitions.h"
#include "oval_system_characteristics.h"
Go to the source code of this file.
Defines | |
#define | OVAL_PCTX_FLAG_NOREPLY 0x0001 |
#define | OVAL_PCTX_FLAG_NORECONN 0x0002 |
#define | OVAL_PCTX_FLAG_RUNALL 0x0004 |
#define | OVAL_PCTX_FLAG_RUNNOW 0x0008 |
#define | OVAL_PCTX_FLAG_MASK (0x0001|0x0002|0x0004|0x0008) |
#define | OVAL_PCTX_ATTR_RETRY 0x0001 |
#define | OVAL_PCTX_ATTR_RECVTIMEOUT 0x0002 |
#define | OVAL_PCTX_ATTR_SENDTIMEOUT 0x0003 |
#define | OVAL_PCTX_ATTR_SCHEME 0x0004 |
#define | OVAL_PCTX_ATTR_DIR 0x0005 |
#define | OVAL_PCTX_ATTR_MODEL 0x0006 |
Typedefs | |
typedef struct oval_pctx | oval_pctx_t |
Functions | |
oval_pctx_t * | oval_pctx_new (struct oval_syschar_model *model) |
Creaste new probe context. | |
void | oval_pctx_free (oval_pctx_t *pctx) __attribute__((nonnull(1))) |
Free probe context. | |
int | oval_pctx_setflag (oval_pctx_t *pctx, uint32_t flags) __attribute__((nonnull(1))) |
Set probe context flag. | |
int | oval_pctx_unsetflag (oval_pctx_t *pctx, uint32_t flags) __attribute__((nonnull(1))) |
Unset probe context flag. | |
int | oval_pctx_setattr (oval_pctx_t *pctx, uint32_t attr,...) __attribute__((nonnull(1))) |
Set probe context attribute. | |
int | oval_probe_reset (oval_pctx_t *pctx, oval_subtype_t subtype) __attribute__((nonnull(1))) |
Reset probe state. | |
int | oval_probe_close (oval_pctx_t *pctx, oval_subtype_t subtype) __attribute__((nonnull(1))) |
Close connection and shutdown a probe. | |
struct oval_sysinfo * | oval_probe_sysinf_eval (oval_pctx_t *pctx) __attribute__((nonnull(1))) |
Evaluate system info probe. | |
struct oval_syschar * | oval_probe_object_eval (oval_pctx_t *pctx, struct oval_object *object) __attribute__((nonnull(1 |
Evaluate an object. |