AUPARSE\_FEED\_HAS\_DATA(3) Linux Audit API AUPARSE\_FEED\_HAS\_DATA(3)

# [NAME](#NAME)

auparse\_feed\_has\_data - check if there is any data accumulating that might need flushing.

# [SYNOPSIS](#SYNOPSIS)

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

**int auparse\_feed\_has\_data(const auparse\_state\_t \*au);"**

# [DESCRIPTION](#DESCRIPTION)

*auparse\_feed\_has\_data* may be called to determine if there is any records that are accumulating but not yet ready to emit.

# [RETURN VALUE](#RETURN_VALUE)

Returns 1 if any records are accumulating otherwise 0 if empty.

# [SEE ALSO](#SEE_ALSO)

[**auparse\_feed**(3)](/man/os/audit/auparse_feed.3), [**auparse\_feed\_age\_events**(3)](/man/os/audit/auparse_feed_age_events.3)

# [AUTHOR](#AUTHOR)

Steve Grubb

Apr 2016 Red Hat

---

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