2 Iso2709 record management
7 * Revision 1.1 1995/02/10 17:05:18 adam
8 * New function iso2709_display to display MARC records in a
9 * line-by-line format. The iso2709_cvt function no longer
10 * prints the record to stderr.
22 void iso2709_display (Iso2709Rec rec, FILE *out)
24 struct iso2709_dir *dir;
26 for (dir = rec->directory; dir; dir = dir->next)
28 struct iso2709_field *field;
30 fprintf (out, "%s", dir->tag);
32 fprintf (out, " %s", dir->indicator);
33 for (field = dir->fields; field; field = field->next)
35 if (field->identifier)
36 fprintf (out, " $%s", field->identifier);
37 fprintf (out, " %s", field->data);