Minor change to make C++ happy.
[yaz-moved-to-github.git] / include / prt-exd.h
index 48ea85d..fa3c875 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * 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,
@@ -199,19 +199,21 @@ typedef struct Z_IUOriginPartToKeep
 #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;
@@ -219,6 +221,7 @@ typedef struct Z_IUTaskPackageRecordStructure
 #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
@@ -256,7 +259,7 @@ typedef struct Z_IUUpdate
     } 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
 }