auparse_get_field_int — get current field's value as an int

Synopsis

#include <auparse.h>

int auparse_get_field_int(auparse_state_t *au);

Description

auparse_get_field_int allows access to the value as an int of the current field of the current record in the current event.

Return Value

Returns -1 if there is an error with errno set appropriately or the value if errno is zero.

See Also

auparse_get_field_str(3).

Author

Steve Grubb

Referenced By

auparse_get_field_str(3), auparse_interpret_field(3).

Feb 2007 Red Hat Linux Audit API