X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Fprt-ext.h;h=0aab6722a1fc71d5fba7cec96ee9a10df9ccb07b;hp=5d7f6beba9f16619c3eeb9ac034d0add03add2a1;hb=19af2bd8dfd21731cc978beccd1346133d614c67;hpb=d9ee01635f03f9095a66f71b73580560d48798e8 diff --git a/include/yaz/prt-ext.h b/include/yaz/prt-ext.h index 5d7f6be..0aab672 100644 --- a/include/yaz/prt-ext.h +++ b/include/yaz/prt-ext.h @@ -35,9 +35,8 @@ #include #include -#ifdef __cplusplus -extern "C" { -#endif + +YAZ_BEGIN_CDECL /* * Used to keep track of known External definitions (a loose approach @@ -104,13 +103,12 @@ struct Z_External } u; }; + YAZ_EXPORT int z_External(ODR o, Z_External **p, int opt, const char *name); YAZ_EXPORT Z_ext_typeent *z_ext_getentbyref(oid_value val); YAZ_EXPORT Z_External *z_ext_record(ODR o, int format, const char *buf, int len); -#ifdef __cplusplus -} -#endif +YAZ_END_CDECL #endif