X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fprt-rsc.h;h=5cc2e6124d8d8cb924a1942fa08d19740631e905;hb=28231d4c83085109d800c6689ae778cc041c51e7;hp=d13552467f1ec6194cfcab0c3d8fb88ab93f9132;hpb=9760c02cdacaca31695e2adaf1747c82811f3b8a;p=yaz-moved-to-github.git diff --git a/include/prt-rsc.h b/include/prt-rsc.h index d135524..5cc2e61 100644 --- a/include/prt-rsc.h +++ b/include/prt-rsc.h @@ -24,7 +24,22 @@ * OF THIS SOFTWARE. * * $Log: prt-rsc.h,v $ - * Revision 1.1 1995-06-01 11:24:52 quinn + * 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 +48,12 @@ #ifndef PRT_RSC_H #define PRT_RSC_H +#include + +#ifdef __cplusplus +extern "C" { +#endif + /* -------------------- Resource-1 -------------------- */ #define Z_EstimateType_currentSearchRecords 1 @@ -62,10 +83,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); + /* -------------------- Resource-2 -------------------- */ typedef struct Z_Estimate2 @@ -77,8 +100,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); + +#ifdef __cplusplus +} +#endif + #endif