Moved definitions of nmem_block and nmem_control.
[yaz-moved-to-github.git] / include / prt-dia.h
index 356afd1..e971786 100644 (file)
 
 #include <yconfig.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 typedef struct Z_TooMany
 {
     int *tooManyWhat;
@@ -150,12 +154,6 @@ typedef struct Z_Scan
     } u;
 } Z_Scan;
 
-typedef struct Z_StringList
-{
-    int num_strings;
-    char **strings;
-} Z_StringList;
-
 typedef struct Z_Sort
 {
     int which;
@@ -330,4 +328,8 @@ typedef struct Z_DiagnosticFormat
 
 int z_DiagnosticFormat(ODR o, Z_DiagnosticFormat **p, int opt);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif