New windows NT/95 port using MSV5.0. To export DLL functions the
[yaz-moved-to-github.git] / include / prt-exd.h
index 0b8bdce..47a1754 100644 (file)
 
 #include <yconfig.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 typedef struct Z_TaskPackage
 {
     Odr_oid *packageType;                 
@@ -252,6 +256,10 @@ 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
+}
+#endif
 
 #endif