Imported Upstream version 2.4.3
[platform/upstream/audit.git] / docs / auparse_next_event.3
1 .TH "AUPARSE_NEXT_EVENT" "3" "Feb 2007" "Red Hat" "Linux Audit API"
2 .SH NAME
3 auparse_next_event \- get the next event
4 .SH "SYNOPSIS"
5 .B #include <auparse.h>
6 .sp
7 int auparse_next_event(auparse_state_t *au);
8
9 .SH "DESCRIPTION"
10
11 auparse_next_event will position the cursors at the first field of the first record of the next event in a file or buffer. It does not skip events or honor any search criteria that may be stored.
12
13 .SH "RETURN VALUE"
14
15 Returns \-1 if an error occurs, 0 if there's no data, 1 for success.
16
17 .SH "SEE ALSO"
18
19 .BR auparse_next_record (3).
20
21 .SH AUTHOR
22 Steve Grubb