YAZ  5.23.1
zes-psched.h
Go to the documentation of this file.
1 
7 #ifndef zes_psched_H
8 #define zes_psched_H
9 
10 #include <yaz/odr.h>
11 #include <yaz/z-core.h>
12 #include <yaz/zes-exps.h>
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
19 
22 
24 YAZ_EXPORT int z_PQSPeriodicQuerySchedule(ODR o, Z_PQSPeriodicQuerySchedule **p, int opt, const char *name);
25 
27 YAZ_EXPORT int z_PQSOriginPartToKeep(ODR o, Z_PQSOriginPartToKeep **p, int opt, const char *name);
28 
30 YAZ_EXPORT int z_PQSOriginPartNotToKeep(ODR o, Z_PQSOriginPartNotToKeep **p, int opt, const char *name);
31 
33 YAZ_EXPORT int z_PQSTargetPart(ODR o, Z_PQSTargetPart **p, int opt, const char *name);
34 
35 typedef struct Z_PQSPeriod Z_PQSPeriod;
36 YAZ_EXPORT int z_PQSPeriod(ODR o, Z_PQSPeriod **p, int opt, const char *name);
37 #ifdef __cplusplus
38 }
39 #endif
40 #ifdef __cplusplus
41 extern "C" {
42 #endif
46 };
47 
51 };
52 
54  int which;
55  union {
58 #define Z_PQSPeriodicQuerySchedule_esRequest 1
59 #define Z_PQSPeriodicQuerySchedule_taskPackage 2
60  } u;
61 };
62 
67 #define Z_PQSOriginPartToKeep_replace 1
68 #define Z_PQSOriginPartToKeep_append 2
69 #define Z_PQSOriginPartToKeep_createNew 3
72  int which;
73  union {
76 #define Z_PQSOriginPartToKeep_packageName 1
77 #define Z_PQSOriginPartToKeep_exportPackage 2
78  } u; /* OPT */
79 };
80 
82  int which;
83  union {
86 #define Z_PQSOriginPartNotToKeep_actualQuery 1
87 #define Z_PQSOriginPartNotToKeep_packageName 2
88  } u; /* OPT */
90  char *expiration; /* OPT */
92 };
93 
97  char *expiration; /* OPT */
102 };
103 
104 struct Z_PQSPeriod {
105  int which;
106  union {
111 #define Z_PQSPeriod_unit 1
112 #define Z_PQSPeriod_businessDaily 2
113 #define Z_PQSPeriod_continuous 3
114 #define Z_PQSPeriod_other 4
115  } u;
116 };
117 
118 #ifdef __cplusplus
119 }
120 #endif
121 #endif
int z_PQSOriginPartNotToKeep(ODR o, Z_PQSOriginPartNotToKeep **p, int opt, const char *name)
Definition: zes-psched.c:81
Header for ODR (Open Data Representation)
char Z_InternationalString
Definition: z-core.h:301
Z_IntUnit * unit
Definition: zes-psched.h:107
ASN.1 Module Z39-50-APDU-1995.
Z_InternationalString * packageName
Definition: zes-psched.h:85
char * lastQueryTime
Definition: zes-psched.h:99
Z_InternationalString * resultSetPackage
Definition: zes-psched.h:91
int z_PQSPeriodicQueryScheduleTaskPackage(ODR o, Z_PQSPeriodicQueryScheduleTaskPackage **p, int opt, const char *name)
Definition: zes-psched.c:24
Z_InternationalString * resultSetPackage
Definition: zes-psched.h:98
Odr_int * resultSetDisposition
Definition: zes-psched.h:70
int z_PQSPeriodicQuerySchedule(ODR o, Z_PQSPeriodicQuerySchedule **p, int opt, const char *name)
Definition: zes-psched.c:36
char * name
Definition: initopt.c:18
Z_PQSPeriod * originSuggestedPeriod
Definition: zes-psched.h:89
char * expiration
Definition: zes-psched.h:97
nmem_int_t Odr_int
Definition: odr.h:47
Odr_bool * activeFlag
Definition: zes-psched.h:64
Z_InternationalString ** databaseNames
Definition: zes-psched.h:66
Odr_null * businessDaily
Definition: zes-psched.h:108
Z_Query * actualQuery
Definition: zes-psched.h:95
int z_PQSPeriodicQueryScheduleEsRequest(ODR o, Z_PQSPeriodicQueryScheduleEsRequest **p, int opt, const char *name)
Definition: zes-psched.c:12
Odr_int * lastResultNumber
Definition: zes-psched.h:100
Z_PQSOriginPartToKeep * originPart
Definition: zes-psched.h:49
ASN.1 Module ESFormat-ExportSpecification.
int z_PQSOriginPartToKeep(ODR o, Z_PQSOriginPartToKeep **p, int opt, const char *name)
Definition: zes-psched.c:54
nmem_bool_t Odr_bool
Definition: odr.h:48
Z_PQSPeriodicQueryScheduleEsRequest * esRequest
Definition: zes-psched.h:56
Z_PQSPeriod * targetStatedPeriod
Definition: zes-psched.h:96
Z_PQSOriginPartNotToKeep * notToKeep
Definition: zes-psched.h:45
Z_PQSPeriodicQueryScheduleTaskPackage * taskPackage
Definition: zes-psched.h:57
int z_PQSPeriod(ODR o, Z_PQSPeriod **p, int opt, const char *name)
Definition: zes-psched.c:127
Z_ESExportSpecification * exportPackage
Definition: zes-psched.h:75
int z_PQSTargetPart(ODR o, Z_PQSTargetPart **p, int opt, const char *name)
Definition: zes-psched.c:105
Z_InternationalString * packageName
Definition: zes-psched.h:74
Definition: odr.h:124
Z_InternationalString * other
Definition: zes-psched.h:110
int opt
Definition: initopt.c:19
Odr_int * numberSinceModify
Definition: zes-psched.h:101
Odr_null * continuous
Definition: zes-psched.h:109
Z_PQSOriginPartToKeep * toKeep
Definition: zes-psched.h:44
Z_ESDestination * alertDestination
Definition: zes-psched.h:71
void Odr_null
Definition: odr.h:105