X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Fprt-ext.h;h=0aab6722a1fc71d5fba7cec96ee9a10df9ccb07b;hb=19af2bd8dfd21731cc978beccd1346133d614c67;hp=5d7f6beba9f16619c3eeb9ac034d0add03add2a1;hpb=715f35c6d320d5589ea1b80434ab1b2abef823b0;p=yaz-moved-to-github.git 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