DOKK / manpages / debian 10 / libauparse-dev / auparse_goto_record_num.3.en
AUPARSE_GOTO_RECORD_NUM(3) Linux Audit API AUPARSE_GOTO_RECORD_NUM(3)

auparse_goto_record_num - move record cursor to specific record

#include <auparse.h>

int auparse_goto_record_num(auparse_state_t *au, unsigned int num);

auparse_goto_record_num will move the internal library cursors to point to a specific physical record number. Records within the same event are numbered starting from 0. This is generally not needed but there are some cases where one may want precise control over the exact record being looked at.

Returns 0 on error or 1 for success.

auparse_get_num_records(3),auparse_next_record(3).

Steve Grubb

May 2008 Red Hat