| 1 |
.TH "AUPARSE_GET_LINE_NUMBER" "3" "June 2016" "Red Hat" "Linux Audit API" |
| 2 |
.SH NAME |
| 3 |
auparse_get_line_number \- get line number where record was found |
| 4 |
.SH "SYNOPSIS" |
| 5 |
.B #include <auparse.h> |
| 6 |
.sp |
| 7 |
.BI "unsigned int auparse_get_line_number(const auparse_state_t *" au);" |
| 8 |
|
| 9 |
.SH "DESCRIPTION" |
| 10 |
|
| 11 |
auparse_get_line_number will return the source input line number for |
| 12 |
the current record of the current event. Line numbers start at 1. If |
| 13 |
the source input type is AUSOURCE_FILE_ARRAY the line numbering will |
| 14 |
reset back to 1 each time a new line in the file array is opened. |
| 15 |
|
| 16 |
.SH "RETURN VALUE" |
| 17 |
|
| 18 |
Returns the line number. Line numbers are 1 based, a zero value |
| 19 |
indicates the line number information is unavailable. |
| 20 |
|
| 21 |
.SH "SEE ALSO" |
| 22 |
|
| 23 |
.BR auparse_get_filename (3). |
| 24 |
.BR auparse_next_record (3). |
| 25 |
|
| 26 |
.SH AUTHOR |
| 27 |
John Dennis |