summaryrefslogtreecommitdiffstats
path: root/framework/src/audit/docs/auparse_get_filename.3
blob: 259a8e255255ecae75b59ff3bb363a2852ee7ab4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
.TH "AUPARSE_GET_FILENAME" "3" "Feb 2007" "Red Hat" "Linux Audit API"
.SH NAME
auparse_get_filename \- get the filename where record was found
.SH "SYNOPSIS"
.B #include <auparse.h>
.sp
const char *auparse_get_filename(auparse_state_t *au);

.SH "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.

.SH "RETURN VALUE"

Returns pointer to a filename or NULL if unavailable.

.SH "SEE ALSO"

.BR auparse_get_line_number (3).
.BR auparse_next_record (3).

.SH AUTHOR
John Dennis