auparse_get_num_fields — get the number of fields

Synopsis

#include <auparse.h>

unsigned int auparse_get_num_fields(auparse_state_t *au);

Description

auparse_get_num_fields gets the number of fields in the current record of the current event.

Return Value

Returns 0 if an error occurs; otherwise, the number of fields.

See Also

auparse_next_record(3).

Author

Steve Grubb

Info

Feb 2007 Red Hat Linux Audit API