~ubuntu-branches/ubuntu/maverick/audit/maverick

« back to all changes in this revision

Viewing changes to docs/auparse_get_line_number.3

  • Committer: Bazaar Package Importer
  • Author(s): Mathias Gug
  • Date: 2007-06-29 13:05:14 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070629130514-z798cz4lebiahj5w
Tags: 1.5.4-0ubuntu1
* New upstream version.
* debian/patches/audit-1.5.1-dist.patch:
  * update so that it applies for 1.5.4.
* debian/control:
  * update Maintainer and XSBC-Original-Maintainer fields.
* debian/rules:
  * enable apparmor support: add --with-apparmor to configure options.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.TH "AUPARSE_GET_LINE_NUMBER" "3" "Feb 2007" "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
unsigned int auparse_get_line_number(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 life 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