X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fprt-ext.h;h=988f75e792467046ce41dc81def5ae0a18d85382;hb=28231d4c83085109d800c6689ae778cc041c51e7;hp=e6f708c6f5d76c8ece8432e6f5affb4336abd6b8;hpb=1318fabb307dce513479df1890cac2f20cddda45;p=yaz-moved-to-github.git diff --git a/include/prt-ext.h b/include/prt-ext.h index e6f708c..988f75e 100644 --- a/include/prt-ext.h +++ b/include/prt-ext.h @@ -34,6 +34,10 @@ #include +#ifdef __cplusplus +extern "C" { +#endif + /* * Used to keep track of known External definitions (a loose approach * to DEFINED_BY). @@ -70,6 +74,7 @@ struct Z_External #define Z_External_summary 13 #define Z_External_OPAC 14 #define Z_External_searchResult1 15 +#define Z_External_update 16 union { /* Generic types */ @@ -90,10 +95,15 @@ struct Z_External Z_Espec1 *espec1; Z_BriefBib *summary; Z_SearchInfoReport *searchResult1; + Z_IUUpdate *update; } 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