AUPARSE\_NEXT\_EVENT(3) Linux Audit API AUPARSE\_NEXT\_EVENT(3)

# [NAME](#NAME)

auparse\_next\_event - get the next event

# [SYNOPSIS](#SYNOPSIS)

**#include &lt;auparse.h&gt;**

**int auparse\_next\_event(auparse\_state\_t \*au);"**

# [DESCRIPTION](#DESCRIPTION)

auparse\_next\_event will position the cursors at the first field of the first record of the next event in a file or buffer. It does not skip events or honor any search criteria that may be stored.

# [RETURN VALUE](#RETURN_VALUE)

Returns -1 if an error occurs, 0 if there's no data, 1 for success.

# [SEE ALSO](#SEE_ALSO)

[**auparse\_next\_record**(3)](/man/os/audit/auparse_next_record.3).

# [AUTHOR](#AUTHOR)

Steve Grubb

Feb 2007 Red Hat

---

Document: auparse_next_event(3) from audit 4.2.1-r4 (Chainguard OS)
Source: https://github.com/linux-audit/audit-userspace
