X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fprt-grs.h;h=808ceaef6729541da0d4a4cbd29332be4e560d1c;hp=7983a63faaf503f97b86e3f4126f181ffb764f2b;hb=ffb88e8bb97c6e24989b7f04b8bbf1a4203d2f72;hpb=4ae699c927bc26f3550d1a8ca911e8d1fe75dbfc diff --git a/include/prt-grs.h b/include/prt-grs.h index 7983a63..808ceae 100644 --- a/include/prt-grs.h +++ b/include/prt-grs.h @@ -30,6 +30,10 @@ #include +#ifdef __cplusplus +extern "C" { +#endif + struct Z_GenericRecord; typedef struct Z_GenericRecord Z_GenericRecord; @@ -94,7 +98,7 @@ typedef struct Z_HitVector typedef struct Z_Triple { Odr_oid *variantSetId; /* OPTIONAL */ - int *class; + int *zclass; int *type; int which; #define Z_Triple_integer 0 @@ -170,7 +174,11 @@ struct Z_GenericRecord Z_TaggedElement **elements; }; -int z_GenericRecord(ODR o, Z_GenericRecord **p, int opt); -int z_Variant(ODR o, Z_Variant **p, int opt); +YAZ_EXPORT int z_GenericRecord(ODR o, Z_GenericRecord **p, int opt); +YAZ_EXPORT int z_Variant(ODR o, Z_Variant **p, int opt); + +#ifdef __cplusplus +} +#endif #endif