auparse_get_filename (3) - Linux Manuals

auparse_get_filename: get the filename where record was found

NAME

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.

AUTHOR

John Dennis