X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fprt-rsc.h;h=5bdf5c95c8c8a8289f61746167c99f01170e7383;hb=4e664c278636002a3a0c7897d233a258ac1ec18d;hp=d13552467f1ec6194cfcab0c3d8fb88ab93f9132;hpb=9760c02cdacaca31695e2adaf1747c82811f3b8a;p=yaz-moved-to-github.git diff --git a/include/prt-rsc.h b/include/prt-rsc.h index d135524..5bdf5c9 100644 --- a/include/prt-rsc.h +++ b/include/prt-rsc.h @@ -24,7 +24,26 @@ * OF THIS SOFTWARE. * * $Log: prt-rsc.h,v $ - * Revision 1.1 1995-06-01 11:24:52 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 + * Add access control + * + * Revision 1.1 1995/06/01 11:24:52 quinn * Resource Control * * @@ -33,6 +52,12 @@ #ifndef PRT_RSC_H #define PRT_RSC_H +#include + +#ifdef __cplusplus +extern "C" { +#endif + /* -------------------- Resource-1 -------------------- */ #define Z_EstimateType_currentSearchRecords 1 @@ -62,10 +87,12 @@ typedef struct Z_Estimate1 typedef struct Z_ResourceReport1 { int num_estimates; - Z_Estimate **estimates; + Z_Estimate1 **estimates; char *message; } Z_ResourceReport1; +int z_ResourceReport1(ODR o, Z_ResourceReport1 **p, int opt, const char *name); + /* -------------------- Resource-2 -------------------- */ typedef struct Z_Estimate2 @@ -77,8 +104,14 @@ typedef struct Z_Estimate2 typedef struct Z_ResourceReport2 { int num_estimates; - Z_Estimate2 **setimates; /* OPTIONAL */ + Z_Estimate2 **estimates; /* OPTIONAL */ char *message; /* OPTIONAL */ } Z_ResourceReport2; +int z_ResourceReport2(ODR o, Z_ResourceReport2 **p, int opt, const char *name); + +#ifdef __cplusplus +} +#endif + #endif