AUPARSE\_NODE\_COMPARE(3) Linux Audit API AUPARSE\_NODE\_COMPARE(3)

# [NAME](#NAME)

auparse\_node\_compare - compares node name values

# [SYNOPSIS](#SYNOPSIS)

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

**int auparse\_node\_compare(const au\_event\_t \*e1,constau\_event\_t\*"e2);"**

# [DESCRIPTION](#DESCRIPTION)

auparse\_node\_compare compares the node name values of 2 events.

# [RETURN VALUE](#RETURN_VALUE)

Returns -1, 0, or 1 respectively depending on whether e2 is less than, equal to, or greater than e1. Since this is a string compare, it probably only matter that they are equal or not equal.

# [SEE ALSO](#SEE_ALSO)

[**auparse\_get\_timestamp**(3)](/man/os/audit/auparse_get_timestamp.3).

# [AUTHOR](#AUTHOR)

Steve Grubb

Sept 2007 Red Hat

---

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