2 \brief ASN.1 Module ESFormat-Update
4 Generated automatically by YAZ ASN.1 Compiler 0.4
11 #include <yaz/z-core.h>
16 typedef struct Z_IUUpdateEsRequest Z_IUUpdateEsRequest;
17 YAZ_EXPORT int z_IUUpdateEsRequest (ODR o, Z_IUUpdateEsRequest **p, int opt, const char *name);
19 typedef struct Z_IUUpdateTaskPackage Z_IUUpdateTaskPackage;
20 YAZ_EXPORT int z_IUUpdateTaskPackage (ODR o, Z_IUUpdateTaskPackage **p, int opt, const char *name);
22 typedef struct Z_IUUpdate Z_IUUpdate;
23 YAZ_EXPORT int z_IUUpdate (ODR o, Z_IUUpdate **p, int opt, const char *name);
25 typedef struct Z_IUOriginPartToKeep Z_IUOriginPartToKeep;
26 YAZ_EXPORT int z_IUOriginPartToKeep (ODR o, Z_IUOriginPartToKeep **p, int opt, const char *name);
28 typedef struct Z_IUTargetPart Z_IUTargetPart;
29 YAZ_EXPORT int z_IUTargetPart (ODR o, Z_IUTargetPart **p, int opt, const char *name);
31 typedef struct Z_IUSuppliedRecordsId Z_IUSuppliedRecordsId;
32 YAZ_EXPORT int z_IUSuppliedRecordsId (ODR o, Z_IUSuppliedRecordsId **p, int opt, const char *name);
34 typedef struct Z_IUSuppliedRecords_elem Z_IUSuppliedRecords_elem;
35 YAZ_EXPORT int z_IUSuppliedRecords_elem (ODR o, Z_IUSuppliedRecords_elem **p, int opt, const char *name);
37 typedef struct Z_IUSuppliedRecords Z_IUSuppliedRecords;
38 YAZ_EXPORT int z_IUSuppliedRecords (ODR o, Z_IUSuppliedRecords **p, int opt, const char *name);
40 typedef Z_IUSuppliedRecords Z_IUOriginPartNotToKeep;
41 YAZ_EXPORT int z_IUOriginPartNotToKeep (ODR o, Z_IUOriginPartNotToKeep **p, int opt, const char *name);
43 typedef struct Z_IUCorrelationInfo Z_IUCorrelationInfo;
44 YAZ_EXPORT int z_IUCorrelationInfo (ODR o, Z_IUCorrelationInfo **p, int opt, const char *name);
46 typedef struct Z_IUTaskPackageRecordStructureSurrogateDiagnostics Z_IUTaskPackageRecordStructureSurrogateDiagnostics;
47 YAZ_EXPORT int z_IUTaskPackageRecordStructureSurrogateDiagnostics (ODR o, Z_IUTaskPackageRecordStructureSurrogateDiagnostics **p, int opt, const char *name);
49 typedef struct Z_IUTaskPackageRecordStructure Z_IUTaskPackageRecordStructure;
50 YAZ_EXPORT int z_IUTaskPackageRecordStructure (ODR o, Z_IUTaskPackageRecordStructure **p, int opt, const char *name);
57 struct Z_IUUpdateEsRequest {
58 Z_IUOriginPartToKeep *toKeep;
59 Z_IUOriginPartNotToKeep *notToKeep;
62 struct Z_IUUpdateTaskPackage {
63 Z_IUOriginPartToKeep *originPart;
64 Z_IUTargetPart *targetPart;
70 Z_IUUpdateEsRequest *esRequest;
71 Z_IUUpdateTaskPackage *taskPackage;
72 #define Z_IUUpdate_esRequest 1
73 #define Z_IUUpdate_taskPackage 2
77 struct Z_IUOriginPartToKeep {
78 #define Z_IUOriginPartToKeep_recordInsert 1
79 #define Z_IUOriginPartToKeep_recordReplace 2
80 #define Z_IUOriginPartToKeep_recordDelete 3
81 #define Z_IUOriginPartToKeep_elementUpdate 4
82 #define Z_IUOriginPartToKeep_specialUpdate 5
84 Z_InternationalString *databaseName;
85 Odr_oid *schema; /* OPT */
86 Z_InternationalString *elementSetName; /* OPT */
87 Z_External *actionQualifier; /* OPT */
92 struct Z_IUTargetPart {
93 #define Z_IUTargetPart_success 1
94 #define Z_IUTargetPart_partial 2
95 #define Z_IUTargetPart_failure 3
97 int num_globalDiagnostics;
98 Z_DiagRec **globalDiagnostics; /* OPT */
99 int num_taskPackageRecords;
100 Z_IUTaskPackageRecordStructure **taskPackageRecords;
103 struct Z_IUSuppliedRecordsId {
107 Z_InternationalString *versionNumber;
108 Z_External *previousVersion;
109 #define Z_IUSuppliedRecordsId_timeStamp 1
110 #define Z_IUSuppliedRecordsId_versionNumber 2
111 #define Z_IUSuppliedRecordsId_previousVersion 3
115 struct Z_IUSuppliedRecords_elem {
119 Z_InternationalString *string;
121 #define Z_IUSuppliedRecords_elem_number 1
122 #define Z_IUSuppliedRecords_elem_string 2
123 #define Z_IUSuppliedRecords_elem_opaque 3
125 Z_IUSuppliedRecordsId *supplementalId; /* OPT */
126 Z_IUCorrelationInfo *correlationInfo; /* OPT */
130 struct Z_IUSuppliedRecords {
132 Z_IUSuppliedRecords_elem **elements;
135 struct Z_IUCorrelationInfo {
136 Z_InternationalString *note; /* OPT */
140 struct Z_IUTaskPackageRecordStructureSurrogateDiagnostics {
142 Z_DiagRec **elements;
145 struct Z_IUTaskPackageRecordStructure {
149 Z_IUTaskPackageRecordStructureSurrogateDiagnostics *surrogateDiagnostics;
150 #define Z_IUTaskPackageRecordStructure_record 1
151 #define Z_IUTaskPackageRecordStructure_surrogateDiagnostics 2
153 Z_IUCorrelationInfo *correlationInfo; /* OPT */
154 #define Z_IUTaskPackageRecordStructure_success 1
155 #define Z_IUTaskPackageRecordStructure_queued 2
156 #define Z_IUTaskPackageRecordStructure_inProcess 3
157 #define Z_IUTaskPackageRecordStructure_failure 4
159 int num_supplementalDiagnostics;
160 Z_DiagRec **supplementalDiagnostics; /* OPT */