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

Revision 1343, 3.4 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-PeriodicQuerySchedule */
3
4#ifndef zes_psched_H
5#define zes_psched_H
6
7#include <yaz/odr.h>
8#include <yaz/z-core.h>
9#include <yaz/zes-exps.h>
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14typedef struct Z_PQSPeriodicQueryScheduleEsRequest Z_PQSPeriodicQueryScheduleEsRequest;
15YAZ_EXPORT int z_PQSPeriodicQueryScheduleEsRequest (ODR o, Z_PQSPeriodicQueryScheduleEsRequest **p, int opt, const char *name);
16
17typedef struct Z_PQSPeriodicQueryScheduleTaskPackage Z_PQSPeriodicQueryScheduleTaskPackage;
18YAZ_EXPORT int z_PQSPeriodicQueryScheduleTaskPackage (ODR o, Z_PQSPeriodicQueryScheduleTaskPackage **p, int opt, const char *name);
19
20typedef struct Z_PQSPeriodicQuerySchedule Z_PQSPeriodicQuerySchedule;
21YAZ_EXPORT int z_PQSPeriodicQuerySchedule (ODR o, Z_PQSPeriodicQuerySchedule **p, int opt, const char *name);
22
23typedef struct Z_PQSOriginPartToKeep Z_PQSOriginPartToKeep;
24YAZ_EXPORT int z_PQSOriginPartToKeep (ODR o, Z_PQSOriginPartToKeep **p, int opt, const char *name);
25
26typedef struct Z_PQSOriginPartNotToKeep Z_PQSOriginPartNotToKeep;
27YAZ_EXPORT int z_PQSOriginPartNotToKeep (ODR o, Z_PQSOriginPartNotToKeep **p, int opt, const char *name);
28
29typedef struct Z_PQSTargetPart Z_PQSTargetPart;
30YAZ_EXPORT int z_PQSTargetPart (ODR o, Z_PQSTargetPart **p, int opt, const char *name);
31
32typedef struct Z_PQSPeriod Z_PQSPeriod;
33YAZ_EXPORT int z_PQSPeriod (ODR o, Z_PQSPeriod **p, int opt, const char *name);
34#ifdef __cplusplus
35}
36#endif
37#ifdef __cplusplus
38extern "C" {
39#endif
40struct Z_PQSPeriodicQueryScheduleEsRequest {
41    Z_PQSOriginPartToKeep *toKeep;
42    Z_PQSOriginPartNotToKeep *notToKeep;
43};
44
45struct Z_PQSPeriodicQueryScheduleTaskPackage {
46    Z_PQSOriginPartToKeep *originPart;
47    Z_PQSTargetPart *targetPart;
48};
49
50struct Z_PQSPeriodicQuerySchedule {
51    int which;
52    union {
53        Z_PQSPeriodicQueryScheduleEsRequest *esRequest;
54        Z_PQSPeriodicQueryScheduleTaskPackage *taskPackage;
55#define Z_PQSPeriodicQuerySchedule_esRequest 1
56#define Z_PQSPeriodicQuerySchedule_taskPackage 2
57    } u;
58};
59
60struct Z_PQSOriginPartToKeep {
61    bool_t *activeFlag;
62    int num_databaseNames;
63    Z_InternationalString **databaseNames; /* OPT */
64#define Z_PQSOriginPartToKeep_replace 1
65#define Z_PQSOriginPartToKeep_append 2
66#define Z_PQSOriginPartToKeep_createNew 3
67    int *resultSetDisposition; /* OPT */
68    Z_ESDestination *alertDestination; /* OPT */
69    int which;
70    union {
71        Z_InternationalString *packageName;
72        Z_ESExportSpecification *exportPackage;
73#define Z_PQSOriginPartToKeep_packageName 1
74#define Z_PQSOriginPartToKeep_exportPackage 2
75    } u; /* OPT */
76};
77
78struct Z_PQSOriginPartNotToKeep {
79    int which;
80    union {
81        Z_Query *actualQuery;
82        Z_InternationalString *packageName;
83#define Z_PQSOriginPartNotToKeep_actualQuery 1
84#define Z_PQSOriginPartNotToKeep_packageName 2
85    } u; /* OPT */
86    Z_PQSPeriod *originSuggestedPeriod; /* OPT */
87    char *expiration; /* OPT */
88    Z_InternationalString *resultSetPackage; /* OPT */
89};
90
91struct Z_PQSTargetPart {
92    Z_Query *actualQuery;
93    Z_PQSPeriod *targetStatedPeriod;
94    char *expiration; /* OPT */
95    Z_InternationalString *resultSetPackage; /* OPT */
96    char *lastQueryTime;
97    int *lastResultNumber;
98    int *numberSinceModify; /* OPT */
99};
100
101struct Z_PQSPeriod {
102    int which;
103    union {
104        Z_IntUnit *unit;
105        Odr_null *businessDaily;
106        Odr_null *continuous;
107        Z_InternationalString *other;
108#define Z_PQSPeriod_unit 1
109#define Z_PQSPeriod_businessDaily 2
110#define Z_PQSPeriod_continuous 3
111#define Z_PQSPeriod_other 4
112    } u;
113};
114
115#ifdef __cplusplus
116}
117#endif
118#endif
Note: See TracBrowser for help on using the browser.