* 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 <yaz++/yaz-z-assoc.h>
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;
int m_max_clients;
int m_keepalive;
char *m_proxyTarget;
+ char *m_proxy_authentication;
long m_seed;
char *m_optimize;
public:
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; };
};