X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fprt-esp.h;h=5608213446203e741538b23531ba56c487337c02;hb=0d9eca26da6a9369bb00efd75a9472380526f547;hp=c1c7c568db75924d28a49c51e9217d1f3a9df5cc;hpb=4ae699c927bc26f3550d1a8ca911e8d1fe75dbfc;p=yaz-moved-to-github.git diff --git a/include/prt-esp.h b/include/prt-esp.h index c1c7c56..5608213 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; @@ -52,6 +56,7 @@ typedef struct Z_Occurrences typedef struct Z_SpecificTag { + Odr_oid *schemaId; /* OPTIONAL */ int *tagType; /* OPTIONAL */ Z_StringOrNumeric *tagValue; Z_Occurrences *occurrences; /* OPTIONAL */ @@ -132,6 +137,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