Added LICENSE file.
[yazpp-moved-to-github.git] / include / yaz-ir-assoc.h
index 553903c..bd1ea66 100644 (file)
@@ -1,9 +1,8 @@
 /*
- * Copyright (c) 1998-1999, Index Data.
+ * Copyright (c) 1998-2000, Index Data.
  * See the file LICENSE for details.
- * Sebastian Hammer, Adam Dickmeiss
  * 
- * $Id: yaz-ir-assoc.h,v 1.6 1999-04-20 10:30:05 adam Exp $
+ * $Id: yaz-ir-assoc.h,v 1.11 2000-09-08 10:23:42 adam Exp $
  */
 
 #include <yaz-z-assoc.h>
@@ -45,14 +44,6 @@ class YAZ_EXPORT Yaz_IR_Assoc: public Yaz_Z_Assoc {
     int get_lastReceived();
     void set_lastReceived(int lastReceived);
 
-    /// OtherInformation
-    void set_otherInformationString (Z_OtherInformation **otherInformationP,
-                                    int *oid, int categoryValue,
-                                    const char *str);
-    void set_otherInformationString (
-       Z_OtherInformation **otherInformation,
-       int oidval, int categoryValue,
-       const char *str);
     /// Settings
     void set_proxy(const char *str);
     const char *get_proxy();
@@ -62,9 +53,11 @@ class YAZ_EXPORT Yaz_IR_Assoc: public Yaz_Z_Assoc {
     const char *get_cookie();
 
     /// Send Services
-    int send_initRequest();
-    int send_searchRequest(Yaz_Z_Query *query);
-    int send_presentRequest(int start, int number);
+    int send_initRequest(char* pRefId=NULL);
+    int send_searchRequest(Yaz_Z_Query *query, char* pResultSetId = NULL, char* pRefId = NULL);
+    int send_presentRequest(int start, int number, char* pResultSetId = NULL, char* pRefId = NULL);
+    int send_deleteResultSetRequest(char* pResultSetId = 0, char* pRefId = 0);
+    
     /// Recv Services
     virtual void recv_initRequest(Z_InitRequest *initRequest);
     virtual void recv_initResponse(Z_InitResponse *initResponse);
@@ -81,4 +74,5 @@ class YAZ_EXPORT Yaz_IR_Assoc: public Yaz_Z_Assoc {
     int m_preferredRecordSyntax;
     Z_ElementSetNames *m_elementSetNames;
     int m_lastReceived;
+    int m_log;
 };