YAZ  5.23.1
zes-pquery.h
Go to the documentation of this file.
1 
7 #ifndef zes_pquery_H
8 #define zes_pquery_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_PQueryPersistentQueryEsRequest(ODR o, Z_PQueryPersistentQueryEsRequest **p, int opt, const char *name);
18 
21 
23 YAZ_EXPORT int z_PQueryPersistentQuery(ODR o, Z_PQueryPersistentQuery **p, int opt, const char *name);
24 
26 YAZ_EXPORT int z_PQueryOriginPartToKeep(ODR o, Z_PQueryOriginPartToKeep **p, int opt, const char *name);
27 
29 YAZ_EXPORT int z_PQueryOriginPartNotToKeep(ODR o, Z_PQueryOriginPartNotToKeep **p, int opt, const char *name);
30 
32 YAZ_EXPORT int z_PQueryTargetPart(ODR o, Z_PQueryTargetPart **p, int opt, const char *name);
33 #ifdef __cplusplus
34 }
35 #endif
36 #ifdef __cplusplus
37 extern "C" {
38 #endif
42 };
43 
47 };
48 
50  int which;
51  union {
54 #define Z_PQueryPersistentQuery_esRequest 1
55 #define Z_PQueryPersistentQuery_taskPackage 2
56  } u;
57 };
58 
63 };
64 
66  int which;
67  union {
70 #define Z_PQueryOriginPartNotToKeep_package 1
71 #define Z_PQueryOriginPartNotToKeep_query 2
72  } u;
73 };
74 
75 
76 
77 #ifdef __cplusplus
78 }
79 #endif
80 #endif
Header for ODR (Open Data Representation)
char Z_InternationalString
Definition: z-core.h:301
ASN.1 Module Z39-50-APDU-1995.
Z_InternationalString * package
Definition: zes-pquery.h:68
Z_PQueryPersistentQueryTaskPackage * taskPackage
Definition: zes-pquery.h:53
Z_PQueryPersistentQueryEsRequest * esRequest
Definition: zes-pquery.h:52
char * name
Definition: initopt.c:18
Z_PQueryOriginPartToKeep * toKeep
Definition: zes-pquery.h:40
Z_PQueryOriginPartToKeep * originPart
Definition: zes-pquery.h:45
int z_PQueryOriginPartNotToKeep(ODR o, Z_PQueryOriginPartNotToKeep **p, int opt, const char *name)
Definition: zes-pquery.c:67
Z_Query Z_PQueryTargetPart
Definition: zes-pquery.h:31
int z_PQueryPersistentQueryEsRequest(ODR o, Z_PQueryPersistentQueryEsRequest **p, int opt, const char *name)
Definition: zes-pquery.c:12
Z_PQueryTargetPart * targetPart
Definition: zes-pquery.h:46
Definition: odr.h:124
Z_PQueryOriginPartNotToKeep * notToKeep
Definition: zes-pquery.h:41
int z_PQueryPersistentQueryTaskPackage(ODR o, Z_PQueryPersistentQueryTaskPackage **p, int opt, const char *name)
Definition: zes-pquery.c:24
int opt
Definition: initopt.c:19
int z_PQueryPersistentQuery(ODR o, Z_PQueryPersistentQuery **p, int opt, const char *name)
Definition: zes-pquery.c:36
int z_PQueryTargetPart(ODR o, Z_PQueryTargetPart **p, int opt, const char *name)
Definition: zes-pquery.c:85
Z_InternationalString ** dbNames
Definition: zes-pquery.h:61
int z_PQueryOriginPartToKeep(ODR o, Z_PQueryOriginPartToKeep **p, int opt, const char *name)
Definition: zes-pquery.c:54
Z_OtherInformation * additionalSearchInfo
Definition: zes-pquery.h:62