b868fe22e39413d856a2e9ddcd8a4942cfbfec15
[yaz-moved-to-github.git] / include / yaz / z-sum.h
1 /* YC 0.2: Tue Feb 29 16:45:06 CET 2000 */
2 /* Module-H RecordSyntax-summary */
3
4 #ifndef z_sum_H
5 #define z_sum_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_BriefBib Z_BriefBib;
14 YAZ_EXPORT int z_BriefBib (ODR o, Z_BriefBib **p, int opt, const char *name);
15
16 typedef struct Z_FormatSpec Z_FormatSpec;
17 YAZ_EXPORT int z_FormatSpec (ODR o, Z_FormatSpec **p, int opt, const char *name);
18 #ifdef __cplusplus
19 }
20 #endif
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 struct Z_BriefBib {
25         Z_InternationalString *title;
26         Z_InternationalString *author; /* OPT */
27         Z_InternationalString *callNumber; /* OPT */
28         Z_InternationalString *recordType; /* OPT */
29         Z_InternationalString *bibliographicLevel; /* OPT */
30         int num_format;
31         Z_FormatSpec **format; /* OPT */
32         Z_InternationalString *publicationPlace; /* OPT */
33         Z_InternationalString *publicationDate; /* OPT */
34         Z_InternationalString *targetSystemKey; /* OPT */
35         Z_InternationalString *satisfyingElement; /* OPT */
36         int *rank; /* OPT */
37         Z_InternationalString *documentId; /* OPT */
38         Z_InternationalString *abstract; /* OPT */
39         Z_OtherInformation *otherInfo; /* OPT */
40 };
41
42 struct Z_FormatSpec {
43         Z_InternationalString *type;
44         int *size; /* OPT */
45         int *bestPosn; /* OPT */
46 };
47
48 #ifdef __cplusplus
49 }
50 #endif
51 #endif