Scroll to navigation

AUPARSE_NODE_COMPARE(3) Linux Audit API AUPARSE_NODE_COMPARE(3)

NAME

auparse_node_compare - compares node name values

SYNOPSIS

#include <auparse.h>

int auparse_node_compare(const au_event_t *e1, const au_event_t *e2);

DESCRIPTION

auparse_node_compare compares the node name values of 2 events.

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

auparse_get_timestamp(3).

AUTHOR

Steve Grubb

Sept 2007 Red Hat