Add to .cvsignore the names of the files you get by building the docs.
[yazpp-moved-to-github.git] / include / yaz++ / yaz-proxy.h
index b0ad495..0595e51 100644 (file)
@@ -2,7 +2,7 @@
  * Copyright (c) 1998-2000, Index Data.
  * See the file LICENSE for details.
  * 
- * $Id: yaz-proxy.h,v 1.4 2001-11-06 17:08:05 adam Exp $
+ * $Id: yaz-proxy.h,v 1.7 2002-09-10 13:01:14 adam Exp $
  */
 
 #include <yaz++/yaz-z-assoc.h>
@@ -30,10 +30,14 @@ class YAZ_EXPORT Yaz_ProxyClient : public Yaz_Z_Assoc {
     int m_init_flag;
     Yaz_Z_Query *m_last_query;
     Yaz_Z_Databases m_last_databases;
+    char *m_last_resultSetId;
+    int m_last_ok;
     int m_last_resultCount;
     int m_sr_transform;
     int m_seqno;
     int m_waiting;
+    ODR m_init_odr;
+    Z_APDU *m_initResponse;
 };
 
 /// Information Retrieval Proxy Server.
@@ -53,6 +57,7 @@ class YAZ_EXPORT Yaz_Proxy : public Yaz_Z_Assoc {
     int m_max_clients;
     int m_keepalive;
     char *m_proxyTarget;
+    char *m_proxy_authentication;
     long m_seed;
     char *m_optimize;
  public:
@@ -65,8 +70,9 @@ class YAZ_EXPORT Yaz_Proxy : public Yaz_Z_Assoc {
     void timeoutNotify();
     void connectNotify();
     const char *option(const char *name, const char *value);
-    void set_proxyTarget(const char *target);
-    char *get_proxyTarget() { return m_proxyTarget; };
+    void set_proxy_target(const char *target);
+    void set_proxy_authentication (const char *auth);
+    char *get_proxy_target() { return m_proxyTarget; };
     void set_max_clients(int m) { m_max_clients = m; };
 };