X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2B%2B%2Fyaz-proxy.h;h=f05f2fe689b0f18af8b290d4cd6604e3fcedb622;hb=f45771ec3032b3ef67ec4c275da242e3c647b53e;hp=b0ad495cb3a99f439d39ccd1c43bd98e9171fa76;hpb=19db153df3124f15689496768049bb73c3011a69;p=yazpp-moved-to-github.git diff --git a/include/yaz++/yaz-proxy.h b/include/yaz++/yaz-proxy.h index b0ad495..f05f2fe 100644 --- a/include/yaz++/yaz-proxy.h +++ b/include/yaz++/yaz-proxy.h @@ -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.5 2002-01-14 12:01:27 adam Exp $ */ #include @@ -30,6 +30,7 @@ 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; + int m_last_ok; int m_last_resultCount; int m_sr_transform; int m_seqno; @@ -53,6 +54,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 +67,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; }; };