YAZ  4.2.57
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