source: trunk/gsdl/packages/yaz/include/yaz/zes-pquery.h@ 1343

Last change on this file since 1343 was 1343, checked in by johnmcp, 24 years ago

Added the YAZ toolkit source to the packages directory (for z39.50 stuff)

  • Property svn:keywords set to Author Date Id Revision
File size: 2.2 KB
Line 
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
10extern "C" {
11#endif
12
13typedef struct Z_PQueryPersistentQueryEsRequest Z_PQueryPersistentQueryEsRequest;
14YAZ_EXPORT int z_PQueryPersistentQueryEsRequest (ODR o, Z_PQueryPersistentQueryEsRequest **p, int opt, const char *name);
15
16typedef struct Z_PQueryPersistentQueryTaskPackage Z_PQueryPersistentQueryTaskPackage;
17YAZ_EXPORT int z_PQueryPersistentQueryTaskPackage (ODR o, Z_PQueryPersistentQueryTaskPackage **p, int opt, const char *name);
18
19typedef struct Z_PQueryPersistentQuery Z_PQueryPersistentQuery;
20YAZ_EXPORT int z_PQueryPersistentQuery (ODR o, Z_PQueryPersistentQuery **p, int opt, const char *name);
21
22typedef struct Z_PQueryOriginPartToKeep Z_PQueryOriginPartToKeep;
23YAZ_EXPORT int z_PQueryOriginPartToKeep (ODR o, Z_PQueryOriginPartToKeep **p, int opt, const char *name);
24
25typedef struct Z_PQueryOriginPartNotToKeep Z_PQueryOriginPartNotToKeep;
26YAZ_EXPORT int z_PQueryOriginPartNotToKeep (ODR o, Z_PQueryOriginPartNotToKeep **p, int opt, const char *name);
27
28typedef Z_Query Z_PQueryTargetPart;
29YAZ_EXPORT int z_PQueryTargetPart (ODR o, Z_PQueryTargetPart **p, int opt, const char *name);
30#ifdef __cplusplus
31}
32#endif
33#ifdef __cplusplus
34extern "C" {
35#endif
36struct Z_PQueryPersistentQueryEsRequest {
37 Z_PQueryOriginPartToKeep *toKeep; /* OPT */
38 Z_PQueryOriginPartNotToKeep *notToKeep;
39};
40
41struct Z_PQueryPersistentQueryTaskPackage {
42 Z_PQueryOriginPartToKeep *originPart; /* OPT */
43 Z_PQueryTargetPart *targetPart;
44};
45
46struct 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
56struct Z_PQueryOriginPartToKeep {
57 int num_dbNames;
58 Z_InternationalString **dbNames; /* OPT */
59 Z_OtherInformation *additionalSearchInfo; /* OPT */
60};
61
62struct 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
Note: See TracBrowser for help on using the repository browser.