Logo Search packages:      
Sourcecode: dballe version File versions

dba_record_cursor dba_record_iterate_next ( dba_record  rec,
dba_record_cursor  cur 
)

Continue iterating through the values in a record

Parameters:
rec The record to iterate on.
cur The cursor returned by dba_record_iterate_first or dba_record_iterate_next
Returns:
The cursor pointing to the next item in the record, or NULL if there are no more items.

Definition at line 905 of file dba_record.c.

{
      assert_is_dba_record(rec);

      /* Try first to see if there's something else in the chain */
      if (cur->next != NULL)
            return cur->next;

      return NULL;
}


Generated by  Doxygen 1.6.0   Back to index