Implemented data1_add_insert_taggeddata utility which is more flexible
[yaz-moved-to-github.git] / include / prt-rsc.h
index d135524..5cc2e61 100644 (file)
  * 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
  *
  *
 #ifndef PRT_RSC_H
 #define PRT_RSC_H
 
+#include <yconfig.h>
+
+#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