root/trunk/gsdl/packages/yaz/include/yaz/zes-pset.h @ 1343

Revision 1343, 2.0 KB (checked in by johnmcp, 20 years ago)

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

  • Property svn:keywords set to Author Date Id Revision
Line 
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
10extern "C" {
11#endif
12
13typedef struct Z_PRPersistentResultSetEsRequest Z_PRPersistentResultSetEsRequest;
14YAZ_EXPORT int z_PRPersistentResultSetEsRequest (ODR o, Z_PRPersistentResultSetEsRequest **p, int opt, const char *name);
15
16typedef struct Z_PRPersistentResultSetTaskPackage Z_PRPersistentResultSetTaskPackage;
17YAZ_EXPORT int z_PRPersistentResultSetTaskPackage (ODR o, Z_PRPersistentResultSetTaskPackage **p, int opt, const char *name);
18
19typedef struct Z_PRPersistentResultSet Z_PRPersistentResultSet;
20YAZ_EXPORT int z_PRPersistentResultSet (ODR o, Z_PRPersistentResultSet **p, int opt, const char *name);
21
22typedef struct Z_PROriginPartNotToKeep Z_PROriginPartNotToKeep;
23YAZ_EXPORT int z_PROriginPartNotToKeep (ODR o, Z_PROriginPartNotToKeep **p, int opt, const char *name);
24
25typedef struct Z_PRTargetPart Z_PRTargetPart;
26YAZ_EXPORT int z_PRTargetPart (ODR o, Z_PRTargetPart **p, int opt, const char *name);
27#ifdef __cplusplus
28}
29#endif
30#ifdef __cplusplus
31extern "C" {
32#endif
33struct Z_PRPersistentResultSetEsRequest {
34    Odr_null *toKeep;
35    Z_PROriginPartNotToKeep *notToKeep; /* OPT */
36};
37
38struct Z_PRPersistentResultSetTaskPackage {
39    Odr_null *originPart;
40    Z_PRTargetPart *targetPart; /* OPT */
41};
42
43struct 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
53struct 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
60struct Z_PRTargetPart {
61    Z_InternationalString *targetSuppliedResultSet; /* OPT */
62    int *numberOfRecords; /* OPT */
63};
64
65#ifdef __cplusplus
66}
67#endif
68#endif
Note: See TracBrowser for help on using the browser.