Introducing namespace yazpp_1 for all YAZ++ functions. This will
[yazpp-moved-to-github.git] / include / yaz++ / ir-assoc.h
index 408f31f..a0e7712 100644 (file)
@@ -2,12 +2,13 @@
  * Copyright (c) 1998-2000, Index Data.
  * See the file LICENSE for details.
  * 
- * $Id: ir-assoc.h,v 1.1 2002-10-09 12:50:26 adam Exp $
+ * $Id: ir-assoc.h,v 1.4 2005-06-02 06:40:21 adam Exp $
  */
 
 #include <yaz++/z-assoc.h>
 #include <yaz++/z-query.h>
 
+namespace yazpp_1 {
 /** Information Retrieval Assocation.
     This object implements the client - and server role of a generic
     Z39.50 Association.
@@ -19,7 +20,8 @@ class YAZ_EXPORT Yaz_IR_Assoc: public Yaz_Z_Assoc {
     /// Destroy assocation and close PDU Observer
     virtual ~Yaz_IR_Assoc();
     /// Receive Z39.50 PDU
-    void recv_Z_PDU(Z_APDU *apdu);
+    void recv_Z_PDU(Z_APDU *apdu, int len);
+    void recv_GDU(Z_GDU *apdu, int len);
     /// Set Database Names
     void set_databaseNames (int num, const char **list);
     void set_databaseNames(const char *dblist, const char *sep);
@@ -77,3 +79,4 @@ class YAZ_EXPORT Yaz_IR_Assoc: public Yaz_Z_Assoc {
     int m_lastReceived;
     int m_log;
 };
+};