auparse_next_record(3) — Linux manual page

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | SEE ALSO | AUTHOR | COLOPHON

AUPARSE_NEXT_RECORD(3)       Linux Audit API      AUPARSE_NEXT_RECORD(3)

NAME         top

       auparse_next_record - move record cursor

SYNOPSIS         top

       #include <auparse.h>

       int auparse_next_record(auparse_state_t *au);

DESCRIPTION         top

       auparse_next_record will move the internal library cursors to
       point to the next record of the current event. You should not
       call this function from a feed interface callback function. Doing
       so will deadlock the code. In that scenario, you should check the
       number of records in the current event with
       auparse_get_num_records and only call this if there are more
       records.

RETURN VALUE         top

       Returns -1 if an error occurs, 0 if no more records in current
       event, or 1 for success.

SEE ALSO         top

       auparse_next_event(3),auparse_get_num_records(3).

AUTHOR         top

       Steve Grubb

COLOPHON         top

       This page is part of the audit (Linux Audit) project.
       Information about the project can be found at 
       ⟨http://people.redhat.com/sgrubb/audit/⟩.  If you have a bug
       report for this manual page, send it to [email protected].
       This page was obtained from the project's upstream Git repository
       ⟨https://github.com/linux-audit/audit-userspace.git⟩ on
       2024-06-14.  (At that time, the date of the most recent commit
       that was found in the repository was 2024-06-12.)  If you
       discover any rendering problems in this HTML version of the page,
       or you believe there is a better or more up-to-date source for
       the page, or you have corrections or improvements to the
       information in this COLOPHON (which is not part of the original
       manual page), send a mail to [email protected]

Red Hat                         Feb 2007          AUPARSE_NEXT_RECORD(3)

Pages that refer to this page: auparse_first_record(3)auparse_get_filename(3)auparse_get_line_number(3)auparse_get_num_fields(3)auparse_get_num_records(3)auparse_get_record_text(3)auparse_get_type(3)auparse_get_type_name(3)auparse_goto_record_num(3)auparse_next_event(3)auparse_next_field(3)