Asynch. API
[egate.git] / include / iso2709p.h
index 0c8472f..8d05c42 100644 (file)
@@ -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 <iso2709.h>
 
+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