AUPARSE_GET_FILENAME(3) Linux Audit API AUPARSE_GET_FILENAME(3)

auparse_get_filename - get the filename where record was found

#include <auparse.h>

const char *auparse_get_filename(const auparse_state_t *au);

auparse_get_filename will return the name of the source file where the record was found if the source type is AUSOURCE_FILE or AUSOURCE_FILE_ARRAY. For other source types the return value will be NULL.

Returns pointer to a filename or NULL if unavailable.

auparse_get_line_number(3). auparse_next_record(3).

John Dennis

Feb 2007 Red Hat