YAZ  5.34.0
z-univ.h
Go to the documentation of this file.
1 
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 
17 YAZ_EXPORT int z_UniverseReportHits(ODR o, Z_UniverseReportHits **p, int opt, const char *name);
18 
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
33 };
34 
37 };
38 
41  int which;
42  union {
45 #define Z_UniverseReport_databaseHits 1
46 #define Z_UniverseReport_duplicate 2
47  } u;
48 };
49 
50 #ifdef __cplusplus
51 }
52 #endif
53 #endif
int opt
Definition: initopt.c:19
char * name
Definition: initopt.c:18
Header for ODR (Open Data Representation)
nmem_int_t Odr_int
Definition: odr.h:47
Z_StringOrNumeric * hitno
Definition: z-univ.h:36
Z_StringOrNumeric * database
Definition: z-univ.h:31
Z_StringOrNumeric * hits
Definition: z-univ.h:32
Odr_int * totalHits
Definition: z-univ.h:40
Z_UniverseReportDuplicate * duplicate
Definition: z-univ.h:44
Z_UniverseReportHits * databaseHits
Definition: z-univ.h:43
union Z_UniverseReport::@106 u
Definition: odr.h:125
ASN.1 Module Z39-50-APDU-1995.
int z_UniverseReportDuplicate(ODR o, Z_UniverseReportDuplicate **p, int opt, const char *name)
Definition: z-univ.c:22
int z_UniverseReport(ODR o, Z_UniverseReport **p, int opt, const char *name)
Definition: z-univ.c:31
int z_UniverseReportHits(ODR o, Z_UniverseReportHits **p, int opt, const char *name)
Definition: z-univ.c:12