Work on proxy.
[yazpp-moved-to-github.git] / include / yaz-z-assoc.h
index caec440..f02468d 100644 (file)
@@ -3,10 +3,7 @@
  * See the file LICENSE for details.
  * Sebastian Hammer, Adam Dickmeiss
  * 
- * $Log: yaz-z-assoc.h,v $
- * Revision 1.1  1999-04-09 11:47:23  adam
- * Added object Yaz_Z_Assoc. Much more functional client.
- *
+ * $Id: yaz-z-assoc.h,v 1.4 1999-09-13 12:53:44 adam Exp $
  */
 
 #include <proto.h>
@@ -31,6 +28,8 @@ class YAZ_EXPORT Yaz_Z_Assoc : public IYaz_PDU_Observer {
     void failNotify();
     /// Timeout notification
     void timeoutNotify();
+    /// Timeout specify
+    void timeout(int timeout);
     /// Begin Z39.50 client role
     void client(const char *addr);
     /// Begin Z39.50 server role
@@ -49,6 +48,27 @@ class YAZ_EXPORT Yaz_Z_Assoc : public IYaz_PDU_Observer {
     Z_APDU *create_Z_PDU(int type);
     /// Request Alloc
     ODR odr_encode ();
+    ODR odr_decode ();
+    ODR odr_print ();
+
+    /// OtherInformation
+    void get_otherInfoAPDU(Z_APDU *apdu, Z_OtherInformation ***oip);
+    Z_OtherInformationUnit *update_otherInformation (
+       Z_OtherInformation **otherInformationP, int createFlag,
+       int *oid, int categoryValue, int deleteFlag);
+    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);
+    void set_otherInformationString (
+       Z_APDU *apdu,
+       int oidval, int categoryValue,
+       const char *str);
+    void set_apdu_log(const char *file);
  private:
     static int yaz_init_flag;
     static int yaz_init_func();