X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fprt-ext.h;h=988f75e792467046ce41dc81def5ae0a18d85382;hp=5fb4729f288b68966a43a3e0324a3c0eb955a5ff;hb=9a2b41f58cf220c9583b654ff77776a18e958b44;hpb=f8ec9ce4a0624d49be64a0cce115846155b79e42 diff --git a/include/prt-ext.h b/include/prt-ext.h index 5fb4729..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). @@ -95,7 +99,11 @@ struct Z_External } 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