1 | /* Generated automatically by the YAZ ASN.1 Compiler 0.3 */
|
---|
2 | /* Module-H ESFormat-PersistentResultSet */
|
---|
3 |
|
---|
4 | #ifndef zes_pset_H
|
---|
5 | #define zes_pset_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_PRPersistentResultSetEsRequest Z_PRPersistentResultSetEsRequest;
|
---|
14 | YAZ_EXPORT int z_PRPersistentResultSetEsRequest (ODR o, Z_PRPersistentResultSetEsRequest **p, int opt, const char *name);
|
---|
15 |
|
---|
16 | typedef struct Z_PRPersistentResultSetTaskPackage Z_PRPersistentResultSetTaskPackage;
|
---|
17 | YAZ_EXPORT int z_PRPersistentResultSetTaskPackage (ODR o, Z_PRPersistentResultSetTaskPackage **p, int opt, const char *name);
|
---|
18 |
|
---|
19 | typedef struct Z_PRPersistentResultSet Z_PRPersistentResultSet;
|
---|
20 | YAZ_EXPORT int z_PRPersistentResultSet (ODR o, Z_PRPersistentResultSet **p, int opt, const char *name);
|
---|
21 |
|
---|
22 | typedef struct Z_PROriginPartNotToKeep Z_PROriginPartNotToKeep;
|
---|
23 | YAZ_EXPORT int z_PROriginPartNotToKeep (ODR o, Z_PROriginPartNotToKeep **p, int opt, const char *name);
|
---|
24 |
|
---|
25 | typedef struct Z_PRTargetPart Z_PRTargetPart;
|
---|
26 | YAZ_EXPORT int z_PRTargetPart (ODR o, Z_PRTargetPart **p, int opt, const char *name);
|
---|
27 | #ifdef __cplusplus
|
---|
28 | }
|
---|
29 | #endif
|
---|
30 | #ifdef __cplusplus
|
---|
31 | extern "C" {
|
---|
32 | #endif
|
---|
33 | struct Z_PRPersistentResultSetEsRequest {
|
---|
34 | Odr_null *toKeep;
|
---|
35 | Z_PROriginPartNotToKeep *notToKeep; /* OPT */
|
---|
36 | };
|
---|
37 |
|
---|
38 | struct Z_PRPersistentResultSetTaskPackage {
|
---|
39 | Odr_null *originPart;
|
---|
40 | Z_PRTargetPart *targetPart; /* OPT */
|
---|
41 | };
|
---|
42 |
|
---|
43 | struct Z_PRPersistentResultSet {
|
---|
44 | int which;
|
---|
45 | union {
|
---|
46 | Z_PRPersistentResultSetEsRequest *esRequest;
|
---|
47 | Z_PRPersistentResultSetTaskPackage *taskPackage;
|
---|
48 | #define Z_PRPersistentResultSet_esRequest 1
|
---|
49 | #define Z_PRPersistentResultSet_taskPackage 2
|
---|
50 | } u;
|
---|
51 | };
|
---|
52 |
|
---|
53 | struct Z_PROriginPartNotToKeep {
|
---|
54 | Z_InternationalString *originSuppliedResultSet; /* OPT */
|
---|
55 | #define Z_PROriginPartNotToKeep_replace 1
|
---|
56 | #define Z_PROriginPartNotToKeep_append 2
|
---|
57 | int *replaceOrAppend; /* OPT */
|
---|
58 | };
|
---|
59 |
|
---|
60 | struct Z_PRTargetPart {
|
---|
61 | Z_InternationalString *targetSuppliedResultSet; /* OPT */
|
---|
62 | int *numberOfRecords; /* OPT */
|
---|
63 | };
|
---|
64 |
|
---|
65 | #ifdef __cplusplus
|
---|
66 | }
|
---|
67 | #endif
|
---|
68 | #endif
|
---|