Initial commit
[yaz4j-moved-to-github.git] / dependencies / yaz-2.1.28 / include / yaz / z-univ.h
1 /** \file z-univ.h
2     \brief ASN.1 Module ResourceReport-Format-Universe-1
3
4     Generated automatically by YAZ ASN.1 Compiler 0.4
5 */
6
7 #ifndef z_univ_H
8 #define z_univ_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_UniverseReportHits Z_UniverseReportHits;
17 YAZ_EXPORT int z_UniverseReportHits (ODR o, Z_UniverseReportHits **p, int opt, const char *name);
18
19 typedef struct Z_UniverseReportDuplicate Z_UniverseReportDuplicate;
20 YAZ_EXPORT int z_UniverseReportDuplicate (ODR o, Z_UniverseReportDuplicate **p, int opt, const char *name);
21
22 typedef struct Z_UniverseReport Z_UniverseReport;
23 YAZ_EXPORT int z_UniverseReport (ODR o, Z_UniverseReport **p, int opt, const char *name);
24 #ifdef __cplusplus
25 }
26 #endif
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 struct Z_UniverseReportHits {
31         Z_StringOrNumeric *database;
32         Z_StringOrNumeric *hits;
33 };
34
35 struct Z_UniverseReportDuplicate {
36         Z_StringOrNumeric *hitno;
37 };
38
39 struct Z_UniverseReport {
40         int *totalHits;
41         int which;
42         union {
43                 Z_UniverseReportHits *databaseHits;
44                 Z_UniverseReportDuplicate *duplicate;
45 #define Z_UniverseReport_databaseHits 1
46 #define Z_UniverseReport_duplicate 2
47         } u;
48 };
49
50 #ifdef __cplusplus
51 }
52 #endif
53 #endif