logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

auparse_next_record - move record cursor

Author

Steve Grubb Red Hat Feb 2007 AUPARSE_NEXT_RECORD(3)

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.

Name

auparse_next_record - move record cursor

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).

Synopsis

#include<auparse.h> int auparse_next_record(auparse_state_t *au);

See Also