Changed the way implementationName - and version is set.
[yaz-moved-to-github.git] / include / prt-exd.h
index a471312..0aa67b2 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,
@@ -54,7 +54,7 @@ typedef struct Z_TaskPackage
     Z_External *taskSpecificParameters;   
 } Z_TaskPackage;
 
-int z_TaskPackage(ODR o, Z_TaskPackage **p, int opt);
+int z_TaskPackage(ODR o, Z_TaskPackage **p, int opt, const char *name);
 
 /* ----------------------- ITEM ORDER ------------------------- */
 
@@ -147,7 +147,7 @@ typedef struct Z_ItemOrder
     } u;
 } Z_ItemOrder;
 
-int z_ItemOrder(ODR o, Z_ItemOrder **p, int opt);
+int z_ItemOrder(ODR o, Z_ItemOrder **p, int opt, const char *name);
 
 /* ----------------------- ITEM UPDATE ------------------------ */
 
@@ -183,7 +183,7 @@ typedef struct Z_IUSuppliedRecords_elem
     } u; /* OPTIONAL */
     Z_IUSuppliedRecordsId *supplementalId; /* OPTIONAL */
     Z_IUCorrelationInfo *correlationInfo;    /* OPTIONAL */
-    Odr_external *record;
+    Z_External *record;
 } Z_IUSuppliedRecords_elem;
 
 typedef struct Z_IUSuppliedRecords
@@ -259,7 +259,7 @@ typedef struct Z_IUUpdate
     } u;
 } Z_IUUpdate;
 
-YAZ_EXPORT int z_IUUpdate(ODR o, Z_IUUpdate **p, int opt);
+YAZ_EXPORT int z_IUUpdate(ODR o, Z_IUUpdate **p, int opt, const char *name);
 
 #ifdef __cplusplus
 }