YAZ  5.23.1
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 
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
Header for ODR (Open Data Representation)
int z_UniverseReport(ODR o, Z_UniverseReport **p, int opt, const char *name)
Definition: z-univ.c:31
ASN.1 Module Z39-50-APDU-1995.
Odr_int * totalHits
Definition: z-univ.h:40
char * name
Definition: initopt.c:18
Z_UniverseReportDuplicate * duplicate
Definition: z-univ.h:44
int z_UniverseReportHits(ODR o, Z_UniverseReportHits **p, int opt, const char *name)
Definition: z-univ.c:12
Z_StringOrNumeric * hits
Definition: z-univ.h:32
Z_StringOrNumeric * hitno
Definition: z-univ.h:36
nmem_int_t Odr_int
Definition: odr.h:47
Z_StringOrNumeric * database
Definition: z-univ.h:31
Definition: odr.h:124
int opt
Definition: initopt.c:19
int z_UniverseReportDuplicate(ODR o, Z_UniverseReportDuplicate **p, int opt, const char *name)
Definition: z-univ.c:22
Z_UniverseReportHits * databaseHits
Definition: z-univ.h:43