Logo Search packages:      
Sourcecode: dballe version File versions

void dba_record_clear ( dba_record  rec  ) 

Remove all data from the record

Parameters:
rec The record to empty.

Definition at line 210 of file dba_record.c.

{
      int i;
      assert_is_dba_record(rec);
      for (i = 0; i < KEYWORD_TABLE_SIZE; i++)
            if (rec->keydata[i] != NULL)
            {
                  dba_var_delete(rec->keydata[i]);
                  rec->keydata[i] = NULL;
            }
      dba_record_clear_vars(rec);
}


Generated by  Doxygen 1.6.0   Back to index