AUPARSE\_GET\_TYPE(3) Linux Audit API AUPARSE\_GET\_TYPE(3)

# [NAME](#NAME)

auparse\_get\_type - get record's type

# [SYNOPSIS](#SYNOPSIS)

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

**int auparse\_get\_type(const auparse\_state\_t \*au);"**

# [DESCRIPTION](#DESCRIPTION)

auparse\_get\_type will return the integer value for the current record of the current event.

# [RETURN VALUE](#RETURN_VALUE)

auparse\_get\_type returns 0 if an error occurs; otherwise, the record's type.

# [SEE ALSO](#SEE_ALSO)

[**auparse\_get\_type\_name**(3)](/man/os/audit/auparse_get_type_name.3),[**auparse\_next\_record**(3)](/man/os/audit/auparse_next_record.3).

# [AUTHOR](#AUTHOR)

Steve Grubb

Mar 2016 Red Hat

---

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