New nmem utility, nmem_transfer, that transfer blocks from one
[yaz-moved-to-github.git] / include / prt-dia.h
index a7e80d2..28a07ec 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,
 
 #include <yconfig.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 typedef struct Z_TooMany
 {
     int *tooManyWhat;
@@ -173,9 +177,6 @@ typedef struct Z_Sort
        Odr_null *incompatible;
        Odr_null *generic;
        Odr_null *dbSpecific;
-#if 0
-       Z_SortElement *sortElement;
-#endif
        int *key;
 #define Z_SortKey_tooMany       1
 #define Z_SortKey_duplicate     2
@@ -322,6 +323,10 @@ typedef struct Z_DiagnosticFormat
     Z_DiagnosticUnit **diagnostics;
 } Z_DiagnosticFormat;
 
-int z_DiagnosticFormat(ODR o, Z_DiagnosticFormat **p, int opt);
+YAZ_EXPORT int z_DiagnosticFormat(ODR o, Z_DiagnosticFormat **p, int opt);
+
+#ifdef __cplusplus
+}
+#endif
 
 #endif