Minor changes.
[egate.git] / include / iso2709p.h
1 /*
2    Record management
3
4    Europagate, 1994-1995.
5
6    iso2709p.h,v
7  * Revision 1.3  1995/02/15  17:43:08  adam
8  * Minor changes to the ccl interface. Bug fix in iso2709 module.
9  *
10  * Revision 1.2  1995/02/10  16:50:26  adam
11  * Indicator field moved to 'struct iso2709_dir' from 'struct
12  * iso2709_field'.
13  * Function iso2709_rm implemented - to delete a MARC record.
14  *
15  * Revision 1.1.1.1  1995/02/09  17:27:12  adam
16  * Initial version of email gateway under CVS control.
17  *
18  */
19
20 #ifndef ISO2709P_H
21 #define ISO2709P_H
22
23 #include <iso2709.h>
24
25 struct iso2709_field {
26     char *identifier;
27     char *data;
28     struct iso2709_field *next;
29 };
30
31 struct iso2709_dir {
32     char tag[4];
33     int  length;
34     int  offset;
35     char *indicator;
36     struct iso2709_dir *next;
37     struct iso2709_field *fields;
38 };
39
40 struct iso2709_rec {
41     int  record_length;
42     char record_status[2];
43     char implementation_codes[5];
44     int  indicator_length;
45     int  identifier_length;
46     int  base_address;
47     char user_systems[4];
48
49     int  length_data_entry;
50     int  length_starting;
51     int  length_implementation;
52     char future_use[2];
53
54     struct iso2709_dir *directory;
55 };
56
57 #define ISO2709_RS 035
58 #define ISO2709_FS 036
59 #define ISO2709_IDFS 037
60
61
62 #endif