1 | /* Generated automatically by the YAZ ASN.1 Compiler 0.3 */
|
---|
2 | /* Module-H RecordSyntax-opac */
|
---|
3 |
|
---|
4 | #ifndef z_opac_H
|
---|
5 | #define z_opac_H
|
---|
6 |
|
---|
7 | #include <yaz/odr.h>
|
---|
8 | #include <yaz/z-core.h>
|
---|
9 | #ifdef __cplusplus
|
---|
10 | extern "C" {
|
---|
11 | #endif
|
---|
12 |
|
---|
13 | typedef struct Z_OPACRecord Z_OPACRecord;
|
---|
14 | YAZ_EXPORT int z_OPACRecord (ODR o, Z_OPACRecord **p, int opt, const char *name);
|
---|
15 |
|
---|
16 | typedef struct Z_HoldingsRecord Z_HoldingsRecord;
|
---|
17 | YAZ_EXPORT int z_HoldingsRecord (ODR o, Z_HoldingsRecord **p, int opt, const char *name);
|
---|
18 |
|
---|
19 | typedef struct Z_HoldingsAndCircData Z_HoldingsAndCircData;
|
---|
20 | YAZ_EXPORT int z_HoldingsAndCircData (ODR o, Z_HoldingsAndCircData **p, int opt, const char *name);
|
---|
21 |
|
---|
22 | typedef struct Z_Volume Z_Volume;
|
---|
23 | YAZ_EXPORT int z_Volume (ODR o, Z_Volume **p, int opt, const char *name);
|
---|
24 |
|
---|
25 | typedef struct Z_CircRecord Z_CircRecord;
|
---|
26 | YAZ_EXPORT int z_CircRecord (ODR o, Z_CircRecord **p, int opt, const char *name);
|
---|
27 | #ifdef __cplusplus
|
---|
28 | }
|
---|
29 | #endif
|
---|
30 | #ifdef __cplusplus
|
---|
31 | extern "C" {
|
---|
32 | #endif
|
---|
33 | struct Z_OPACRecord {
|
---|
34 | Z_External *bibliographicRecord; /* OPT */
|
---|
35 | int num_holdingsData;
|
---|
36 | Z_HoldingsRecord **holdingsData; /* OPT */
|
---|
37 | };
|
---|
38 |
|
---|
39 | struct Z_HoldingsRecord {
|
---|
40 | int which;
|
---|
41 | union {
|
---|
42 | Z_External *marcHoldingsRecord;
|
---|
43 | Z_HoldingsAndCircData *holdingsAndCirc;
|
---|
44 | #define Z_HoldingsRecord_marcHoldingsRecord 1
|
---|
45 | #define Z_HoldingsRecord_holdingsAndCirc 2
|
---|
46 | } u;
|
---|
47 | };
|
---|
48 |
|
---|
49 | struct Z_HoldingsAndCircData {
|
---|
50 | Z_InternationalString *typeOfRecord; /* OPT */
|
---|
51 | Z_InternationalString *encodingLevel; /* OPT */
|
---|
52 | Z_InternationalString *format; /* OPT */
|
---|
53 | Z_InternationalString *receiptAcqStatus; /* OPT */
|
---|
54 | Z_InternationalString *generalRetention; /* OPT */
|
---|
55 | Z_InternationalString *completeness; /* OPT */
|
---|
56 | Z_InternationalString *dateOfReport; /* OPT */
|
---|
57 | Z_InternationalString *nucCode; /* OPT */
|
---|
58 | Z_InternationalString *localLocation; /* OPT */
|
---|
59 | Z_InternationalString *shelvingLocation; /* OPT */
|
---|
60 | Z_InternationalString *callNumber; /* OPT */
|
---|
61 | Z_InternationalString *shelvingData; /* OPT */
|
---|
62 | Z_InternationalString *copyNumber; /* OPT */
|
---|
63 | Z_InternationalString *publicNote; /* OPT */
|
---|
64 | Z_InternationalString *reproductionNote; /* OPT */
|
---|
65 | Z_InternationalString *termsUseRepro; /* OPT */
|
---|
66 | Z_InternationalString *enumAndChron; /* OPT */
|
---|
67 | int num_volumes;
|
---|
68 | Z_Volume **volumes; /* OPT */
|
---|
69 | int num_circulationData;
|
---|
70 | Z_CircRecord **circulationData; /* OPT */
|
---|
71 | };
|
---|
72 |
|
---|
73 | struct Z_Volume {
|
---|
74 | Z_InternationalString *enumeration; /* OPT */
|
---|
75 | Z_InternationalString *chronology; /* OPT */
|
---|
76 | Z_InternationalString *enumAndChron; /* OPT */
|
---|
77 | };
|
---|
78 |
|
---|
79 | struct Z_CircRecord {
|
---|
80 | bool_t *availableNow;
|
---|
81 | Z_InternationalString *availablityDate; /* OPT */
|
---|
82 | Z_InternationalString *availableThru; /* OPT */
|
---|
83 | Z_InternationalString *restrictions; /* OPT */
|
---|
84 | Z_InternationalString *itemId; /* OPT */
|
---|
85 | bool_t *renewable;
|
---|
86 | bool_t *onHold;
|
---|
87 | Z_InternationalString *enumAndChron; /* OPT */
|
---|
88 | Z_InternationalString *midspine; /* OPT */
|
---|
89 | Z_InternationalString *temporaryLocation; /* OPT */
|
---|
90 | };
|
---|
91 |
|
---|
92 | #ifdef __cplusplus
|
---|
93 | }
|
---|
94 | #endif
|
---|
95 | #endif
|
---|