auparse_get_filename — get the filename where record was found

Synopsis

#include <auparse.h>

const char *auparse_get_filename(auparse_state_t *au);

Description

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.

Return Value

Returns pointer to a filename or NULL if unavailable.

See Also

auparse_get_line_number(3). auparse_next_record(3).

Author

John Dennis

Referenced By

auparse_get_line_number(3).

Feb 2007 Red Hat Linux Audit API