2 * Iso2709 record management
4 * Europagate, 1994-1995.
7 * Revision 1.3 1995/02/22 21:32:36 adam
10 * Revision 1.1 1995/02/10 17:05:18 adam
11 * New function iso2709_display to display MARC records in a
12 * line-by-line format. The iso2709_cvt function no longer
13 * prints the record to stderr.
25 void iso2709_display (Iso2709Rec rec, FILE *out)
27 struct iso2709_dir *dir;
29 for (dir = rec->directory; dir; dir = dir->next)
31 struct iso2709_field *field;
33 fprintf (out, "%s", dir->tag);
35 fprintf (out, " %s", dir->indicator);
36 for (field = dir->fields; field; field = field->next)
38 if (field->identifier)
39 fprintf (out, " $%s", field->identifier);
40 fprintf (out, " %s", field->data);