/*
- * Copyright (c) 1995, Index Data.
+ * Copyright (c) 1995-1998, Index Data.
*
* Permission to use, copy, modify, distribute, and sell this software and
* its documentation, in whole or in part, for any purpose, is hereby granted,
#define Z_IUOriginPartToKeep_recordReplace 2
#define Z_IUOriginPartToKeep_recordDelete 3
#define Z_IUOriginPartToKeep_elementUpdate 4
+#define Z_IUOriginPartToKeep_specialUpdate 5
char *databaseName;
- Odr_oid *schema; /* OPTIONAL */
- char *elementSetName; /* OPTIONAL */
+ Odr_oid *schema; /* OPTIONAL */
+ char *elementSetName; /* OPTIONAL */
+ Odr_external *actionQualifier; /* OPTIONAL */
} Z_IUOriginPartToKeep;
typedef struct Z_IUTaskPackageRecordStructure
{
int which;
#define Z_IUTaskPackageRecordStructure_record 1
-#define Z_IUTaskPackageRecordStructure_diagnostic 2
+#define Z_IUTaskPackageRecordStructure_surrogateDiagnostics 2
union {
Odr_external *record;
- Z_DiagRec *diagnostic;
+ Z_DiagRecs *surrogateDiagnostics;
} u; /* OPTIONAL */
Z_IUCorrelationInfo *correlationInfo; /* OPTIONAL */
int *recordStatus;
#define Z_IUTaskPackageRecordStructureS_queued 2
#define Z_IUTaskPackageRecordStructureS_inProcess 3
#define Z_IUTaskPackageRecordStructureS_failure 4
+ Z_DiagRecs *supplementalDiagnostics; /* OPTIONAL */
} Z_IUTaskPackageRecordStructure;
typedef struct Z_IUTargetPart
} u;
} Z_IUUpdate;
-int z_IUUpdate(ODR o, Z_IUUpdate **p, int opt);
+YAZ_EXPORT int z_IUUpdate(ODR o, Z_IUUpdate **p, int opt);
#ifdef __cplusplus
}