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 linux-audit@redhat.com.  This page
       was obtained from the project's upstream Git repository 
       ⟨https://github.com/linux-audit/audit-userspace.git⟩ on 2017-03-13.
       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 man-pages@man7.org

Red Hat                           Feb 2007            AUPARSE_NEXT_RECORD(3)