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
Fixed Makefile(s).
[yaz-moved-to-github.git]
/
include
/
prt-ext.h
diff --git
a/include/prt-ext.h
b/include/prt-ext.h
index
25ffa42
..
988f75e
100644
(file)
--- a/
include/prt-ext.h
+++ b/
include/prt-ext.h
@@
-34,6
+34,10
@@
#include <yconfig.h>
#include <yconfig.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
* Used to keep track of known External definitions (a loose approach
* to DEFINED_BY).
/*
* Used to keep track of known External definitions (a loose approach
* to DEFINED_BY).
@@
-67,6
+71,10
@@
struct Z_External
#define Z_External_itemOrder 10
#define Z_External_diag1 11
#define Z_External_espec1 12
#define Z_External_itemOrder 10
#define Z_External_diag1 11
#define Z_External_espec1 12
+#define Z_External_summary 13
+#define Z_External_OPAC 14
+#define Z_External_searchResult1 15
+#define Z_External_update 16
union
{
/* Generic types */
union
{
/* Generic types */
@@
-85,10
+93,17
@@
struct Z_External
Z_ItemOrder *itemOrder;
Z_DiagnosticFormat *diag1;
Z_Espec1 *espec1;
Z_ItemOrder *itemOrder;
Z_DiagnosticFormat *diag1;
Z_Espec1 *espec1;
+ Z_BriefBib *summary;
+ Z_SearchInfoReport *searchResult1;
+ Z_IUUpdate *update;
} u;
};
} u;
};
-int z_External(ODR o, Z_External **p, int opt);
-Z_ext_typeent *z_ext_getentbyref(oid_value val);
+YAZ_EXPORT int z_External(ODR o, Z_External **p, int opt);
+YAZ_EXPORT Z_ext_typeent *z_ext_getentbyref(oid_value val);
+
+#ifdef __cplusplus
+}
+#endif
#endif
#endif