X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=include%2Fiso2709p.h;h=8d05c424f07df4da67f148deab7f16d9ac34c876;hb=b9bf72fa7af887225b50f567f91c06ce4353d0c8;hp=0c8472f2c5fe457dc57358dc0e03c2c6b30d021b;hpb=5bc115d3b598f5ad198411dcd033a91a8356c9be;p=egate.git diff --git a/include/iso2709p.h b/include/iso2709p.h index 0c8472f..8d05c42 100644 --- a/include/iso2709p.h +++ b/include/iso2709p.h @@ -1,19 +1,47 @@ /* - Record management - - Europagate, 1994-1995. - - $Log: iso2709p.h,v $ - Revision 1.1 1995/02/09 17:27:11 adam - Initial revision - + * Record management + * + * Europagate, 1994-1995. + * + * $Log: iso2709p.h,v $ + * Revision 1.8 1995/03/30 14:22:11 adam + * New MARC anchor functions. + * + * Revision 1.7 1995/03/29 11:44:25 adam + * New functions: iso2709_a_.. for record manipulation. + * + * Revision 1.6 1995/03/08 12:36:36 adam + * New function: dbc2709_cvt. + * + * Revision 1.5 1995/02/23 08:32:12 adam + * Changed header. + * + * Revision 1.3 1995/02/15 17:43:08 adam + * Minor changes to the ccl interface. Bug fix in iso2709 module. + * + * Revision 1.2 1995/02/10 16:50:26 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:12 adam + * Initial version of email gateway under CVS control. + * */ +#ifndef ISO2709P_H +#define ISO2709P_H + #include +struct iso2709_anchor { + struct iso2709_field **f0; + struct iso2709_dir **d0; + Iso2709Rec rec; +}; + struct iso2709_field { - char *indicator; - char *identifier; + char identifier[4]; char *data; struct iso2709_field *next; }; @@ -22,6 +50,7 @@ struct iso2709_dir { char tag[4]; int length; int offset; + char *indicator; struct iso2709_dir *next; struct iso2709_field *fields; }; @@ -43,5 +72,12 @@ struct iso2709_rec { struct iso2709_dir *directory; }; +/* IS3: */ +#define ISO2709_RS 035 +/* IS2: */ #define ISO2709_FS 036 +/* IS1: */ #define ISO2709_IDFS 037 + + +#endif