| 1 |
.TH "AUPARSE_GET_FILENAME" "3" "Feb 2007" "Red Hat" "Linux Audit API" |
| 2 |
.SH NAME |
| 3 |
auparse_get_filename \- get the filename where record was found |
| 4 |
.SH "SYNOPSIS" |
| 5 |
.B #include <auparse.h> |
| 6 |
.sp |
| 7 |
.BI "const char * auparse_get_filename(const auparse_state_t *" au);" |
| 8 |
|
| 9 |
.SH "DESCRIPTION" |
| 10 |
|
| 11 |
auparse_get_filename will return the name of the source file where the |
| 12 |
record was found if the source type is AUSOURCE_FILE or |
| 13 |
AUSOURCE_FILE_ARRAY. For other source types the return value will be |
| 14 |
NULL. |
| 15 |
|
| 16 |
.SH "RETURN VALUE" |
| 17 |
|
| 18 |
Returns pointer to a filename or NULL if unavailable. |
| 19 |
|
| 20 |
.SH "SEE ALSO" |
| 21 |
|
| 22 |
.BR auparse_get_line_number (3). |
| 23 |
.BR auparse_next_record (3). |
| 24 |
|
| 25 |
.SH AUTHOR |
| 26 |
John Dennis |