projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
YAZ version 1.4pl1.
[yaz-moved-to-github.git]
/
include
/
prt-dia.h
diff --git
a/include/prt-dia.h
b/include/prt-dia.h
index
356afd1
..
5e42355
100644
(file)
--- a/
include/prt-dia.h
+++ b/
include/prt-dia.h
@@
-30,6
+30,10
@@
#include <yconfig.h>
#include <yconfig.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct Z_TooMany
{
int *tooManyWhat;
typedef struct Z_TooMany
{
int *tooManyWhat;
@@
-150,12
+154,6
@@
typedef struct Z_Scan
} u;
} Z_Scan;
} u;
} Z_Scan;
-typedef struct Z_StringList
-{
- int num_strings;
- char **strings;
-} Z_StringList;
-
typedef struct Z_Sort
{
int which;
typedef struct Z_Sort
{
int which;
@@
-328,6
+326,10
@@
typedef struct Z_DiagnosticFormat
Z_DiagnosticUnit **diagnostics;
} 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
#endif