DOKK / manpages / debian 12 / libauparse-dev / auparse_get_field_num.3.en
AUPARSE_GET_FIELD_NUM(3) Linux Audit API AUPARSE_GET_FIELD_NUM(3)

auparse_get_field_num - get current field cursor location

#include <auparse.h>

unsigned int auparse_get_field_num(auparse_state_t *au);

auparse_get_field_num will retrieve the internal library cursors current field location in the current record. Fields within the same record are numbered starting from 0. This is generally not needed but there are some cases where one may want to know the exact field being looked at.

Returns the current field cursor location.

auparse_goto_field_num(3),auparse_get_record_num(3).

Steve Grubb

Dec 2016 Red Hat