2 * Copyright (c) 1995,1996 Index Data.
4 * Permission to use, copy, modify, distribute, and sell this software and
5 * its documentation, in whole or in part, for any purpose, is hereby granted,
8 * 1. This copyright and permission notice appear in all copies of the
9 * software and its documentation. Notices of copyright or attribution
10 * which appear at the beginning of any file must remain unchanged.
12 * 2. The names of Index Data or the individual authors may not be used to
13 * endorse or promote products derived from this software without specific
14 * prior written permission.
16 * THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTY OF ANY KIND,
17 * EXPRESS, IMPLIED, OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
18 * WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
19 * IN NO EVENT SHALL INDEX DATA BE LIABLE FOR ANY SPECIAL, INCIDENTAL,
20 * INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES
21 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER OR
22 * NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
23 * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
31 /* ------------------- Summary Record --------------------- */
33 typedef struct Z_FormatSpec
36 int *size; /* OPTIONAL */
37 int *bestPosn; /* OPTIONAL */
40 typedef struct Z_BriefBib
43 char *author; /* OPTIONAL */
44 char *callNumber; /* OPTIONAL */
45 char *recordType; /* OPTIONAL */
46 char *bibliographicLevel; /* OPTIONAL */
48 Z_FormatSpec **format; /* OPTIONAL */
49 char *publicationPlace; /* OPTIONAL */
50 char *publicationDate; /* OPTIONAL */
51 char *targetSystemKey; /* OPTIONAL */
52 char *satisfyingElement; /* OPTIONAL */
53 int *rank; /* OPTIONAL */
54 char *documentId; /* OPTIONAL */
55 char *abstract; /* OPTIONAL */
56 Z_OtherInformation *otherInfo; /* OPTIONAL */
59 /* ------------------- OPAC Record --------------------- */
61 typedef struct Z_CircRecord
64 char *availabilityDate; /* OPTIONAL */
65 char *availableThru; /* OPTIONAL */
66 char *restrictions; /* OPTIONAL */
67 char *itemId; /* OPTIONAL */
70 char *enumAndChron; /* OPTIONAL */
71 char *midspine; /* OPTIONAL */
72 char *temporaryLocation; /* OPTIONAL */
75 typedef struct Z_Volume
77 char *enumeration; /* OPTIONAL */
78 char *chronology; /* OPTIONAL */
79 char *enumAndChron; /* OPTIONAL */
82 typedef struct Z_HoldingsAndCircData
84 char *typeOfRecord; /* OPTIONAL */
85 char *encodingLevel; /* OPTIONAL */
86 char *format; /* OPTIONAL */
87 char *receiptAcqStatus; /* OPTIONAL */
88 char *generalRetention; /* OPTIONAL */
89 char *completeness; /* OPTIONAL */
90 char *dateOfReport; /* OPTIONAL */
91 char *nucCode; /* OPTIONAL */
92 char *localLocation; /* OPTIONAL */
93 char *shelvingLocation; /* OPTIONAL */
94 char *callNumber; /* OPTIONAL */
95 char *shelvingData; /* OPTIONAL */
96 char *copyNumber; /* OPTIONAL */
97 char *publicNote; /* OPTIONAL */
98 char *reproductionNote; /* OPTIONAL */
99 char *termsUseRepro; /* OPTIONAL */
100 char *enumAndChron; /* OPTIONAL */
102 Z_Volume **volumes; /* OPTIONAL */
103 int num_circulationData;
104 Z_CircRecord **circulationData;/* OPTIONAL */
105 } Z_HoldingsAndCircData;
107 typedef struct Z_HoldingsRecord
110 #define Z_HoldingsRecord_marcHoldingsRecord 0
111 #define Z_HoldingsRecord_holdingsAndCirc 1
114 Z_External *marcHoldingsRecord;
115 Z_HoldingsAndCircData *holdingsAndCirc;
119 typedef struct Z_OPACRecord
121 Z_External *bibliographicRecord; /* OPTIONAL */
122 int num_holdingsData;
123 Z_HoldingsRecord **holdingsData; /* OPTIONAL */
126 int z_BriefBib(ODR o, Z_BriefBib **p, int opt);
127 int z_OPACRecord(ODR o, Z_OPACRecord **p, int opt);