X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=include%2Fyazproxy%2Fproxy.h;h=372d9c081ab50c524410e40521feb38550b21691;hb=cd0944555bef68c40d05f404b2076dfe2d68fd3b;hp=8aa8e7e2afc5d563a0aa842454c98b04b979c76b;hpb=d7f41f16caf965adb1a5ffcdaa937787dfcc030a;p=yazproxy-moved-to-github.git diff --git a/include/yazproxy/proxy.h b/include/yazproxy/proxy.h index 8aa8e7e..372d9c0 100644 --- a/include/yazproxy/proxy.h +++ b/include/yazproxy/proxy.h @@ -1,4 +1,4 @@ -/* $Id: proxy.h,v 1.22 2005-06-25 15:58:33 adam Exp $ +/* $Id: proxy.h,v 1.25 2005-10-13 09:58:52 adam Exp $ Copyright (c) 1998-2005, Index Data. This file is part of the yaz-proxy. @@ -29,6 +29,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include #include #include +#include #include class Yaz_Proxy; @@ -96,15 +97,17 @@ class YAZ_EXPORT Yaz_Proxy : public yazpp_1::Z_Assoc { yazpp_1::GDU *m_timeout_gdu; enum timeout_mode { + timeout_busy, timeout_normal, timeout_reduce, timeout_xsl } m_timeout_mode; + int m_connect_max; + int m_search_max; Yaz_bw m_bw_stat; int m_pdu_max; Yaz_bw m_pdu_stat; - Z_GDU *m_bw_hold_PDU; int m_max_record_retrieve; void handle_max_record_retrieve(Z_APDU *apdu); void display_diagrecs(Z_DiagRec **pp, int num); @@ -207,7 +210,7 @@ class YAZ_EXPORT Yaz_Proxy : public yazpp_1::Z_Assoc { void recv_GDU(Z_GDU *apdu, int len); void recv_GDU_reduce(yazpp_1::GDU *gdu); void recv_GDU_normal(yazpp_1::GDU *gdu); - void recv_GDU_more(); + void recv_GDU_more(bool normal); void handle_incoming_HTTP(Z_HTTP_Request *req); void handle_incoming_Z_PDU(Z_APDU *apdu); void handle_incoming_Z_PDU_2(Z_APDU *apdu);