auparse_first_record — reposition record cursor

Synopsis

#include <auparse.h>

int auparse_first_record(auparse_state_t *au);

Description

auparse_first_record repositions the internal cursors of the parsing library to point to the first field of the first record in the current event.

Return Value

Returns -1 if an error occurs, 0 if there is no event data, or 1 for success.

See Also

auparse_next_event(3), auparse_next_record(3).

Author

Steve Grubb

Referenced By

auparse_find_field(3), auparse_find_field_next(3).

Sep 2014 Red Hat Linux Audit API