1 /** \file zes-update0.h
2 \brief ASN.1 Module ESFormat-Update0
4 Generated automatically by YAZ ASN.1 Compiler 0.4
11 #include <yaz/z-core.h>
16 typedef struct Z_IU0UpdateEsRequest Z_IU0UpdateEsRequest;
17 YAZ_EXPORT int z_IU0UpdateEsRequest (ODR o, Z_IU0UpdateEsRequest **p, int opt, const char *name);
19 typedef struct Z_IU0UpdateTaskPackage Z_IU0UpdateTaskPackage;
20 YAZ_EXPORT int z_IU0UpdateTaskPackage (ODR o, Z_IU0UpdateTaskPackage **p, int opt, const char *name);
22 typedef struct Z_IU0Update Z_IU0Update;
23 YAZ_EXPORT int z_IU0Update (ODR o, Z_IU0Update **p, int opt, const char *name);
25 typedef struct Z_IU0OriginPartToKeep Z_IU0OriginPartToKeep;
26 YAZ_EXPORT int z_IU0OriginPartToKeep (ODR o, Z_IU0OriginPartToKeep **p, int opt, const char *name);
28 typedef struct Z_IU0TargetPart Z_IU0TargetPart;
29 YAZ_EXPORT int z_IU0TargetPart (ODR o, Z_IU0TargetPart **p, int opt, const char *name);
31 typedef struct Z_IU0SuppliedRecordsId Z_IU0SuppliedRecordsId;
32 YAZ_EXPORT int z_IU0SuppliedRecordsId (ODR o, Z_IU0SuppliedRecordsId **p, int opt, const char *name);
34 typedef struct Z_IU0SuppliedRecords_elem Z_IU0SuppliedRecords_elem;
35 YAZ_EXPORT int z_IU0SuppliedRecords_elem (ODR o, Z_IU0SuppliedRecords_elem **p, int opt, const char *name);
37 typedef struct Z_IU0SuppliedRecords Z_IU0SuppliedRecords;
38 YAZ_EXPORT int z_IU0SuppliedRecords (ODR o, Z_IU0SuppliedRecords **p, int opt, const char *name);
40 typedef Z_IU0SuppliedRecords Z_IU0OriginPartNotToKeep;
41 YAZ_EXPORT int z_IU0OriginPartNotToKeep (ODR o, Z_IU0OriginPartNotToKeep **p, int opt, const char *name);
43 typedef struct Z_IU0CorrelationInfo Z_IU0CorrelationInfo;
44 YAZ_EXPORT int z_IU0CorrelationInfo (ODR o, Z_IU0CorrelationInfo **p, int opt, const char *name);
46 typedef struct Z_IU0TaskPackageRecordStructure Z_IU0TaskPackageRecordStructure;
47 YAZ_EXPORT int z_IU0TaskPackageRecordStructure (ODR o, Z_IU0TaskPackageRecordStructure **p, int opt, const char *name);
54 struct Z_IU0UpdateEsRequest {
55 Z_IU0OriginPartToKeep *toKeep;
56 Z_IU0OriginPartNotToKeep *notToKeep;
59 struct Z_IU0UpdateTaskPackage {
60 Z_IU0OriginPartToKeep *originPart;
61 Z_IU0TargetPart *targetPart;
67 Z_IU0UpdateEsRequest *esRequest;
68 Z_IU0UpdateTaskPackage *taskPackage;
69 #define Z_IU0Update_esRequest 1
70 #define Z_IU0Update_taskPackage 2
74 struct Z_IU0OriginPartToKeep {
75 #define Z_IU0OriginPartToKeep_recordInsert 1
76 #define Z_IU0OriginPartToKeep_recordReplace 2
77 #define Z_IU0OriginPartToKeep_recordDelete 3
78 #define Z_IU0OriginPartToKeep_elementUpdate 4
80 Z_InternationalString *databaseName;
81 Odr_oid *schema; /* OPT */
82 Z_InternationalString *elementSetName; /* OPT */
87 struct Z_IU0TargetPart {
88 #define Z_IU0TargetPart_success 1
89 #define Z_IU0TargetPart_partial 2
90 #define Z_IU0TargetPart_failure 3
92 int num_globalDiagnostics;
93 Z_DiagRec **globalDiagnostics; /* OPT */
94 int num_taskPackageRecords;
95 Z_IU0TaskPackageRecordStructure **taskPackageRecords; /* OPT */
98 struct Z_IU0SuppliedRecordsId {
102 Z_InternationalString *versionNumber;
103 Z_External *previousVersion;
104 #define Z_IU0SuppliedRecordsId_timeStamp 1
105 #define Z_IU0SuppliedRecordsId_versionNumber 2
106 #define Z_IU0SuppliedRecordsId_previousVersion 3
110 struct Z_IU0SuppliedRecords_elem {
114 Z_InternationalString *string;
116 #define Z_IU0SuppliedRecords_elem_number 1
117 #define Z_IU0SuppliedRecords_elem_string 2
118 #define Z_IU0SuppliedRecords_elem_opaque 3
120 Z_IU0SuppliedRecordsId *supplementalId; /* OPT */
121 Z_IU0CorrelationInfo *correlationInfo; /* OPT */
125 struct Z_IU0SuppliedRecords {
127 Z_IU0SuppliedRecords_elem **elements;
130 struct Z_IU0CorrelationInfo {
131 Z_InternationalString *note; /* OPT */
135 struct Z_IU0TaskPackageRecordStructure {
139 Z_DiagRec *diagnostic;
140 #define Z_IU0TaskPackageRecordStructure_record 1
141 #define Z_IU0TaskPackageRecordStructure_diagnostic 2
143 Z_IU0CorrelationInfo *correlationInfo; /* OPT */
144 #define Z_IU0TaskPackageRecordStructure_success 1
145 #define Z_IU0TaskPackageRecordStructure_queued 2
146 #define Z_IU0TaskPackageRecordStructure_inProcess 3
147 #define Z_IU0TaskPackageRecordStructure_failure 4