YAZ  5.23.1
z-opac.h
Go to the documentation of this file.
1 
7 #ifndef z_opac_H
8 #define z_opac_H
9 
10 #include <yaz/odr.h>
11 #include <yaz/z-core.h>
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 typedef struct Z_OPACRecord Z_OPACRecord;
17 YAZ_EXPORT int z_OPACRecord(ODR o, Z_OPACRecord **p, int opt, const char *name);
18 
20 YAZ_EXPORT int z_HoldingsRecord(ODR o, Z_HoldingsRecord **p, int opt, const char *name);
21 
23 YAZ_EXPORT int z_HoldingsAndCircData(ODR o, Z_HoldingsAndCircData **p, int opt, const char *name);
24 
25 typedef struct Z_Volume Z_Volume;
26 YAZ_EXPORT int z_Volume(ODR o, Z_Volume **p, int opt, const char *name);
27 
28 typedef struct Z_CircRecord Z_CircRecord;
29 YAZ_EXPORT int z_CircRecord(ODR o, Z_CircRecord **p, int opt, const char *name);
30 #ifdef __cplusplus
31 }
32 #endif
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36 struct Z_OPACRecord {
40 };
41 
43  int which;
44  union {
47 #define Z_HoldingsRecord_marcHoldingsRecord 1
48 #define Z_HoldingsRecord_holdingsAndCirc 2
49  } u;
50 };
51 
71  Z_Volume **volumes; /* OPT */
74 };
75 
76 struct Z_Volume {
80 };
81 
82 struct Z_CircRecord {
93 };
94 
95 #ifdef __cplusplus
96 }
97 #endif
98 #endif
Z_InternationalString * typeOfRecord
Definition: z-opac.h:53
Header for ODR (Open Data Representation)
char Z_InternationalString
Definition: z-core.h:301
Z_InternationalString * availablityDate
Definition: z-opac.h:84
ASN.1 Module Z39-50-APDU-1995.
Z_InternationalString * enumAndChron
Definition: z-opac.h:69
Z_InternationalString * shelvingData
Definition: z-opac.h:64
Z_InternationalString * copyNumber
Definition: z-opac.h:65
Odr_bool * availableNow
Definition: z-opac.h:83
char * name
Definition: initopt.c:18
Odr_bool * renewable
Definition: z-opac.h:88
Z_InternationalString * localLocation
Definition: z-opac.h:61
Z_InternationalString * nucCode
Definition: z-opac.h:60
Z_InternationalString * shelvingLocation
Definition: z-opac.h:62
Z_InternationalString * generalRetention
Definition: z-opac.h:57
Z_InternationalString * enumeration
Definition: z-opac.h:77
Odr_bool * onHold
Definition: z-opac.h:89
int z_Volume(ODR o, Z_Volume **p, int opt, const char *name)
Definition: z-opac.c:91
Z_InternationalString * format
Definition: z-opac.h:55
Z_InternationalString * reproductionNote
Definition: z-opac.h:67
Z_InternationalString * restrictions
Definition: z-opac.h:86
int z_OPACRecord(ODR o, Z_OPACRecord **p, int opt, const char *name)
Definition: z-opac.c:12
Z_InternationalString * itemId
Definition: z-opac.h:87
Z_External * bibliographicRecord
Definition: z-opac.h:37
Z_InternationalString * publicNote
Definition: z-opac.h:66
int z_CircRecord(ODR o, Z_CircRecord **p, int opt, const char *name)
Definition: z-opac.c:105
Z_InternationalString * dateOfReport
Definition: z-opac.h:59
Z_HoldingsAndCircData * holdingsAndCirc
Definition: z-opac.h:46
Z_InternationalString * enumAndChron
Definition: z-opac.h:79
Z_InternationalString * chronology
Definition: z-opac.h:78
nmem_bool_t Odr_bool
Definition: odr.h:48
Z_InternationalString * termsUseRepro
Definition: z-opac.h:68
Z_InternationalString * availableThru
Definition: z-opac.h:85
Z_InternationalString * temporaryLocation
Definition: z-opac.h:92
Z_External * marcHoldingsRecord
Definition: z-opac.h:45
Definition: odr.h:124
Z_InternationalString * callNumber
Definition: z-opac.h:63
Z_InternationalString * encodingLevel
Definition: z-opac.h:54
int opt
Definition: initopt.c:19
structure for all known EXTERNALs
Definition: prt-ext.h:58
Z_HoldingsRecord ** holdingsData
Definition: z-opac.h:39
Z_InternationalString * receiptAcqStatus
Definition: z-opac.h:56
int z_HoldingsRecord(ODR o, Z_HoldingsRecord **p, int opt, const char *name)
Definition: z-opac.c:25
int num_holdingsData
Definition: z-opac.h:38
int z_HoldingsAndCircData(ODR o, Z_HoldingsAndCircData **p, int opt, const char *name)
Definition: z-opac.c:43
Z_Volume ** volumes
Definition: z-opac.h:71
Z_InternationalString * completeness
Definition: z-opac.h:58
Z_InternationalString * enumAndChron
Definition: z-opac.h:90
Z_CircRecord ** circulationData
Definition: z-opac.h:73
Z_InternationalString * midspine
Definition: z-opac.h:91