X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=include%2Fyaz%2B%2B%2Fproxy%2Fproxy.h;h=764be3d78bf49787e47166b7df4085576f89a710;hb=2193539b01eb9b085af2c2c3e4aa18fe4ae4c5f7;hp=13e33a521b9a509ce0027f6606e022d795ae45fd;hpb=2c25ce513613784819fcb216c60d1584402e7907;p=yazpp-moved-to-github.git diff --git a/include/yaz++/proxy/proxy.h b/include/yaz++/proxy/proxy.h index 13e33a5..764be3d 100644 --- a/include/yaz++/proxy/proxy.h +++ b/include/yaz++/proxy/proxy.h @@ -1,4 +1,4 @@ -/* $Id: proxy.h,v 1.1 2004-03-29 22:46:50 adam Exp $ +/* $Id: proxy.h,v 1.3 2004-03-30 18:14:13 adam Exp $ Copyright (c) 1998-2004, Index Data. This file is part of the yaz-proxy. @@ -19,7 +19,9 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#if HAVE_GETTIMEOFDAY #include +#endif #include #include #include @@ -235,7 +237,11 @@ class YAZ_EXPORT Yaz_Proxy : public Yaz_Z_Assoc { int m_request_no; int m_invalid_session; int m_marcxml_flag; +#if HAVE_XSLT xsltStylesheetPtr m_stylesheet_xsp; +#else + void *m_stylesheet_xsp; +#endif int m_stylesheet_offset; Z_APDU *m_stylesheet_apdu; Z_NamePlusRecordList *m_stylesheet_nprl; @@ -273,7 +279,9 @@ class YAZ_EXPORT Yaz_Proxy : public Yaz_Z_Assoc { int m_http_keepalive; const char *m_http_version; Yaz_cql2rpn m_cql2rpn; +#if HAVE_GETTIMEOFDAY struct timeval m_time_tv; +#endif void logtime(); Z_ElementSetNames *mk_esn_from_schema(ODR o, const char *schema); Z_ReferenceId *m_referenceId;