X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fprt-esp.h;h=3459ffbcf679dbe5c3b0887b1dd665fefc4404dc;hb=28231d4c83085109d800c6689ae778cc041c51e7;hp=c1c7c568db75924d28a49c51e9217d1f3a9df5cc;hpb=4ae699c927bc26f3550d1a8ca911e8d1fe75dbfc;p=yaz-moved-to-github.git diff --git a/include/prt-esp.h b/include/prt-esp.h index c1c7c56..3459ffb 100644 --- a/include/prt-esp.h +++ b/include/prt-esp.h @@ -30,6 +30,10 @@ #include +#ifdef __cplusplus +extern "C" { +#endif + typedef struct Z_OccurValues { int *start; @@ -132,6 +136,10 @@ typedef struct Z_Espec1 Z_ElementRequest **elements; /* OPTIONAL */ } Z_Espec1; -int z_Espec1(ODR o, Z_Espec1 **p, int opt); +YAZ_EXPORT int z_Espec1(ODR o, Z_Espec1 **p, int opt); + +#ifdef __cplusplus +} +#endif #endif