1 | /* Generated automatically by the YAZ ASN.1 Compiler 0.3 */
|
---|
2 | /* Module-H ESFormat-PersistentQuery */
|
---|
3 |
|
---|
4 | #ifndef zes_pquery_H
|
---|
5 | #define zes_pquery_H
|
---|
6 |
|
---|
7 | #include <yaz/odr.h>
|
---|
8 | #include <yaz/z-core.h>
|
---|
9 | #ifdef __cplusplus
|
---|
10 | extern "C" {
|
---|
11 | #endif
|
---|
12 |
|
---|
13 | typedef struct Z_PQueryPersistentQueryEsRequest Z_PQueryPersistentQueryEsRequest;
|
---|
14 | YAZ_EXPORT int z_PQueryPersistentQueryEsRequest (ODR o, Z_PQueryPersistentQueryEsRequest **p, int opt, const char *name);
|
---|
15 |
|
---|
16 | typedef struct Z_PQueryPersistentQueryTaskPackage Z_PQueryPersistentQueryTaskPackage;
|
---|
17 | YAZ_EXPORT int z_PQueryPersistentQueryTaskPackage (ODR o, Z_PQueryPersistentQueryTaskPackage **p, int opt, const char *name);
|
---|
18 |
|
---|
19 | typedef struct Z_PQueryPersistentQuery Z_PQueryPersistentQuery;
|
---|
20 | YAZ_EXPORT int z_PQueryPersistentQuery (ODR o, Z_PQueryPersistentQuery **p, int opt, const char *name);
|
---|
21 |
|
---|
22 | typedef struct Z_PQueryOriginPartToKeep Z_PQueryOriginPartToKeep;
|
---|
23 | YAZ_EXPORT int z_PQueryOriginPartToKeep (ODR o, Z_PQueryOriginPartToKeep **p, int opt, const char *name);
|
---|
24 |
|
---|
25 | typedef struct Z_PQueryOriginPartNotToKeep Z_PQueryOriginPartNotToKeep;
|
---|
26 | YAZ_EXPORT int z_PQueryOriginPartNotToKeep (ODR o, Z_PQueryOriginPartNotToKeep **p, int opt, const char *name);
|
---|
27 |
|
---|
28 | typedef Z_Query Z_PQueryTargetPart;
|
---|
29 | YAZ_EXPORT int z_PQueryTargetPart (ODR o, Z_PQueryTargetPart **p, int opt, const char *name);
|
---|
30 | #ifdef __cplusplus
|
---|
31 | }
|
---|
32 | #endif
|
---|
33 | #ifdef __cplusplus
|
---|
34 | extern "C" {
|
---|
35 | #endif
|
---|
36 | struct Z_PQueryPersistentQueryEsRequest {
|
---|
37 | Z_PQueryOriginPartToKeep *toKeep; /* OPT */
|
---|
38 | Z_PQueryOriginPartNotToKeep *notToKeep;
|
---|
39 | };
|
---|
40 |
|
---|
41 | struct Z_PQueryPersistentQueryTaskPackage {
|
---|
42 | Z_PQueryOriginPartToKeep *originPart; /* OPT */
|
---|
43 | Z_PQueryTargetPart *targetPart;
|
---|
44 | };
|
---|
45 |
|
---|
46 | struct Z_PQueryPersistentQuery {
|
---|
47 | int which;
|
---|
48 | union {
|
---|
49 | Z_PQueryPersistentQueryEsRequest *esRequest;
|
---|
50 | Z_PQueryPersistentQueryTaskPackage *taskPackage;
|
---|
51 | #define Z_PQueryPersistentQuery_esRequest 1
|
---|
52 | #define Z_PQueryPersistentQuery_taskPackage 2
|
---|
53 | } u;
|
---|
54 | };
|
---|
55 |
|
---|
56 | struct Z_PQueryOriginPartToKeep {
|
---|
57 | int num_dbNames;
|
---|
58 | Z_InternationalString **dbNames; /* OPT */
|
---|
59 | Z_OtherInformation *additionalSearchInfo; /* OPT */
|
---|
60 | };
|
---|
61 |
|
---|
62 | struct Z_PQueryOriginPartNotToKeep {
|
---|
63 | int which;
|
---|
64 | union {
|
---|
65 | Z_InternationalString *package;
|
---|
66 | Z_Query *query;
|
---|
67 | #define Z_PQueryOriginPartNotToKeep_package 1
|
---|
68 | #define Z_PQueryOriginPartNotToKeep_query 2
|
---|
69 | } u;
|
---|
70 | };
|
---|
71 |
|
---|
72 |
|
---|
73 |
|
---|
74 | #ifdef __cplusplus
|
---|
75 | }
|
---|
76 | #endif
|
---|
77 | #endif
|
---|