-/* $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.
02111-1307, USA.
*/
+#if HAVE_GETTIMEOFDAY
#include <sys/time.h>
+#endif
#include <yaz++/z-assoc.h>
#include <yaz++/z-query.h>
#include <yaz++/z-databases.h>
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;
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;