X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fprt-acc.h;h=1f4bdcacf34f06828c419137e62e87c5787c2a0f;hb=8d363b42a1805306b5df26aac694a4491d5c9119;hp=deca70d8e329802376961f521eaf9fa56b97b06b;hpb=4ae699c927bc26f3550d1a8ca911e8d1fe75dbfc;p=yaz-moved-to-github.git diff --git a/include/prt-acc.h b/include/prt-acc.h index deca70d..1f4bdca 100644 --- a/include/prt-acc.h +++ b/include/prt-acc.h @@ -24,7 +24,18 @@ * OF THIS SOFTWARE. * * $Log: prt-acc.h,v $ - * Revision 1.6 1996-01-02 08:57:35 quinn + * Revision 1.9 1999-04-20 09:56:48 adam + * Added 'name' paramter to encoder/decoder routines (typedef Odr_fun). + * Modified all encoders/decoders to reflect this change. + * + * Revision 1.8 1997/09/01 08:49:51 adam + * New windows NT/95 port using MSV5.0. To export DLL functions the + * YAZ_EXPORT modifier was added. Defined in yconfig.h. + * + * Revision 1.7 1997/05/14 06:53:46 adam + * C++ support. + * + * Revision 1.6 1996/01/02 08:57:35 quinn * Changed enums in the ASN.1 .h files to #defines. Changed oident.class to oclass * * Revision 1.5 1995/09/29 17:12:09 quinn @@ -48,6 +59,10 @@ #ifndef PRT_ACC_H #define PRT_ACC_H +#ifdef __cplusplus +extern "C" { +#endif + typedef struct Z_Encryption1 { Odr_oct *cryptType; /* OPTIONAL */ @@ -153,6 +168,11 @@ typedef struct Z_PromptObject1 } u; } Z_PromptObject1; -int z_PromptObject1(ODR o, Z_PromptObject1 **p, int opt); +YAZ_EXPORT int z_PromptObject1(ODR o, Z_PromptObject1 **p, int opt, + const char *name); + +#ifdef __cplusplus +} +#endif #endif