X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fprt-rsc.h;h=5bdf5c95c8c8a8289f61746167c99f01170e7383;hb=4e664c278636002a3a0c7897d233a258ac1ec18d;hp=2796bc36a1adca0c41f20f2b0e844fb730446091;hpb=11fc1fa1b5e4b75942018efe466dbfdb41454077;p=yaz-moved-to-github.git diff --git a/include/prt-rsc.h b/include/prt-rsc.h index 2796bc3..5bdf5c9 100644 --- a/include/prt-rsc.h +++ b/include/prt-rsc.h @@ -24,7 +24,20 @@ * OF THIS SOFTWARE. * * $Log: prt-rsc.h,v $ - * Revision 1.3 1995-08-17 12:45:17 quinn + * Revision 1.7 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.6 1997/05/14 06:53:50 adam + * C++ support. + * + * Revision 1.5 1995/09/29 17:12:11 quinn + * Smallish + * + * Revision 1.4 1995/09/27 15:02:52 quinn + * Modified function heads & prototypes. + * + * Revision 1.3 1995/08/17 12:45:17 quinn * Fixed minor problems with GRS-1. Added support in c&s. * * Revision 1.2 1995/06/02 09:49:50 quinn @@ -39,6 +52,12 @@ #ifndef PRT_RSC_H #define PRT_RSC_H +#include + +#ifdef __cplusplus +extern "C" { +#endif + /* -------------------- Resource-1 -------------------- */ #define Z_EstimateType_currentSearchRecords 1 @@ -72,7 +91,7 @@ typedef struct Z_ResourceReport1 char *message; } Z_ResourceReport1; -int z_ResourceReport1(ODR o, Z_ResourceReport1 **p, int opt); +int z_ResourceReport1(ODR o, Z_ResourceReport1 **p, int opt, const char *name); /* -------------------- Resource-2 -------------------- */ @@ -89,6 +108,10 @@ typedef struct Z_ResourceReport2 char *message; /* OPTIONAL */ } Z_ResourceReport2; -int z_ResourceReport2(ODR o, Z_ResourceReport2 **p, int opt); +int z_ResourceReport2(ODR o, Z_ResourceReport2 **p, int opt, const char *name); + +#ifdef __cplusplus +} +#endif #endif