Logo Search packages:      
Sourcecode: dballe version File versions

void dba_record_clear_vars ( dba_record  rec  ) 

Remove all variables from the record, leaving the keywords intact.

Parameters:
rec The record to operate on.

Definition at line 199 of file dba_record.c.

{
      assert_is_dba_record(rec);
      while (rec->vars != NULL)
      {
            dba_item next = rec->vars->next;
            dba_item_delete(rec->vars);
            rec->vars = next;
      }
}


Generated by  Doxygen 1.6.0   Back to index