File: auparse_next_record.3

package info (click to toggle)
audit 1:2.4-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-backports, jessie-kfreebsd
  • size: 5,308 kB
  • ctags: 5,589
  • sloc: ansic: 47,383; sh: 11,886; python: 1,949; makefile: 824
file content (21 lines) | stat: -rw-r--r-- 806 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
.TH "AUPARSE_NEXT_RECORD" "3" "Feb 2007" "Red Hat" "Linux Audit API"
.SH NAME
auparse_next_record \- move record cursor
.SH "SYNOPSIS"
.B #include <auparse.h>
.sp
int auparse_next_record(auparse_state_t *au);

.SH "DESCRIPTION"
auparse_next_record will move the internal library cursors to point to the next record of the current event. You should not call this function from a feed interface callback function. Doing so will deadlock the code. In that scenario, you should check the number of records in the current event with auparse_get_num_records and only call this if there are more records.

.SH "RETURN VALUE"

Returns \-1 if an error occurs, 0 if no more records in current event, or 1 for success.

.SH "SEE ALSO"

.BR auparse_next_event (3), auparse_get_num_records (3).

.SH AUTHOR
Steve Grubb