Logo Search packages:      
Sourcecode: dballe version File versions

void dba_record_print ( dba_record  rec,
FILE *  out 

Print the contents of this record to the given file descriptor

rec The record to print
out The output file descriptor

Definition at line 794 of file dba_record.c.

      int i;
      dba_record_cursor cur;
      for (i = 0; i < KEYWORD_TABLE_SIZE; i++)
            if (rec->keydata[i] != NULL)
                  dba_var_print(rec->keydata[i], out);

      for (cur = dba_record_iterate_first(rec); cur != NULL; cur = dba_record_iterate_next(rec, cur))
            dba_var_print(dba_record_cursor_variable(cur), out);

Generated by  Doxygen 1.6.0   Back to index