X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=util%2Fiso2709dump.c;h=fd1056e28c8a901c009c7e6b3e4148fed3c116c6;hb=8467171ebdb5f018740de8d82149c8ccc53d2815;hp=fbf66dcf86f68bf41a616370e2bebcf941889599;hpb=5bc115d3b598f5ad198411dcd033a91a8356c9be;p=egate.git diff --git a/util/iso2709dump.c b/util/iso2709dump.c index fbf66dc..fd1056e 100644 --- a/util/iso2709dump.c +++ b/util/iso2709dump.c @@ -1,12 +1,25 @@ /* - gw-res.c: Iso2709 record management - - Europagate, 1994-1995. - - $Log: iso2709dump.c,v $ - Revision 1.1 1995/02/09 17:27:10 adam - Initial revision - + * Iso2709 record management + * + * Europagate, 1994-1995. + * + * $Log: iso2709dump.c,v $ + * Revision 1.5 1995/02/22 21:32:36 adam + * Changed header. + * + * Revision 1.3 1995/02/10 17:05:18 adam + * New function iso2709_display to display MARC records in a + * line-by-line format. The iso2709_cvt function no longer + * prints the record to stderr. + * + * Revision 1.2 1995/02/10 16:50:33 adam + * Indicator field moved to 'struct iso2709_dir' from 'struct + * iso2709_field'. + * Function iso2709_rm implemented - to delete a MARC record. + * + * Revision 1.1.1.1 1995/02/09 17:27:11 adam + * Initial version of email gateway under CVS control. + * */ #include @@ -22,7 +35,9 @@ int main (int argc, char **argv) while ((buf = iso2709_read (stdin))) { rec = iso2709_cvt (buf); + iso2709_display (rec, stderr); free (buf); + iso2709_rm (rec); } return 0; }