AUPARSE\_DESTROY(3) Linux Audit API AUPARSE\_DESTROY(3)

# [NAME](#NAME)

auparse\_destroy - release instance of parser

# [SYNOPSIS](#SYNOPSIS)

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

**void auparse\_destroy(auparse\_state\_t \*au);"**

**void auparse\_destroy\_ext(auparse\_state\_t \*au, auparse\_destroy\_what\_t what);**

# [DESCRIPTION](#DESCRIPTION)

**auparse\_destroy** frees all data structures and closes file descriptors.

**auparse\_destroy\_ext** frees data structures based on what. What can be AUPARSE\_DESTROY\_ALL to release everything or AUPARSE\_DESTROY\_COMMON to release everything but the uid and gid lookup cache.

# [RETURN VALUE](#RETURN_VALUE)

None.

# [SEE ALSO](#SEE_ALSO)

[**auparse\_init**(3)](/man/os/audit/auparse_init.3), [**auparse\_reset**(3)](/man/os/audit/auparse_reset.3).

# [AUTHOR](#AUTHOR)

Steve Grubb

Feb 2007 Red Hat

---

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