Poster of Linux kernelThe best gift for a Linux geek
AUPARSE_NEXT_RECORD

AUPARSE_NEXT_RECORD

Section: Linux Audit API (3) Updated: Feb 2007
Local index Up
 

NAME

auparse_next_record - move record cursor  

SYNOPSIS

#include <auparse.h>

int auparse_next_record(auparse_state_t *au);

 

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.

 

RETURN VALUE

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

 

SEE ALSO

auparse_next_event(3),auparse_get_num_records(3).

 

AUTHOR

Steve Grubb


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO
AUTHOR

This document was created by man2html, using the manual pages.
Time: 21:42:05 GMT, April 16, 2011