X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyazproxy%2Fproxy.h;h=e8aff930da44ca63e71f6d39c972283b67e38fd5;hb=acf534916169e14e2c33c9edb1b8a6f6c30c836c;hp=938044f0cf7d5706f894ff2420e75a44fc9398d5;hpb=a26937ed9db61e3973e2b297715fcfda43a537a4;p=yazproxy-moved-to-github.git diff --git a/include/yazproxy/proxy.h b/include/yazproxy/proxy.h index 938044f..e8aff93 100644 --- a/include/yazproxy/proxy.h +++ b/include/yazproxy/proxy.h @@ -1,5 +1,5 @@ -/* $Id: proxy.h,v 1.35 2006-04-26 11:59:10 adam Exp $ - Copyright (c) 1998-2006, Index Data. +/* $Id: proxy.h,v 1.38 2007-04-12 18:18:42 adam Exp $ + Copyright (c) 1998-2007, Index Data. This file is part of the yazproxy. @@ -146,7 +146,7 @@ class YAZ_EXPORT Yaz_Proxy : public yazpp_1::Z_Assoc { char *m_schema; char *m_backend_type; char *m_backend_charset; - int m_frontend_type; + int m_frontend_type[OID_SIZE]; void convert_to_frontend_type(Z_NamePlusRecordList *p); void convert_to_marcxml(Z_NamePlusRecordList *p, const char *charset); void convert_records_charset(Z_NamePlusRecordList *p, const char *charset); @@ -213,11 +213,11 @@ class YAZ_EXPORT Yaz_Proxy : public yazpp_1::Z_Assoc { Yaz_Proxy *parent = 0); ~Yaz_Proxy(); - void inc_ref(); bool dec_ref(); int handle_authentication(Z_APDU *apdu); + int handle_global_authentication(Z_APDU *apdu); void result_authentication(Z_APDU *apdu, int ret); void handle_init(Z_APDU *apdu); void inc_request_no(); @@ -254,6 +254,7 @@ class YAZ_EXPORT Yaz_Proxy : public yazpp_1::Z_Assoc { int handle_init_response_for_invalid_session(Z_APDU *apdu); void set_debug_mode(int mode); void send_response_fail_client(const char *addr); + int m_num_msg_threads; Msg_Thread *m_my_thread; void base64_decode(const char *base64, char *buf, int buf_len); };