--- parser3/src/include/pa_request.h 2001/11/19 12:17:05 1.111 +++ parser3/src/include/pa_request.h 2001/12/14 12:53:47 1.113 @@ -4,7 +4,7 @@ Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) Author: Alexander Petrosyan (http://paf.design.ru) - $Id: pa_request.h,v 1.111 2001/11/19 12:17:05 paf Exp $ + $Id: pa_request.h,v 1.113 2001/12/14 12:53:47 paf Exp $ */ #ifndef PA_REQUEST_H @@ -26,6 +26,11 @@ #include "pa_vresponse.h" #include "pa_vcookie.h" #include "pa_sql_driver_manager.h" +#include "pa_transcoder.h" + +#ifdef RESOURCES_DEBUG +#include +#endif #ifndef NO_STRING_ORIGIN # define COMPILE_PARAMS \ @@ -52,6 +57,12 @@ class Request : public Pooled { friend class Temp_lang; public: +#ifdef RESOURCES_DEBUG + /// measures + double sql_connect_time; + double sql_request_time; +#endif + /// some information from web server class Info { public: @@ -148,7 +159,10 @@ public: /// returns the mime type of 'user_file_name_cstr' const String& mime_type_of(const char *user_file_name_cstr); - /// PCRE character tables + /// transcoder [pcre_tables + byte->unicode & back] + const Transcoder* transcoder(); + + /// pcre_tables [up/low case & co] const unsigned char *pcre_tables(); public: @@ -205,7 +219,7 @@ private: // core data */ uint anti_endless_execute_recoursion; - /// charset->pcre_tables + /// charset->transcoder Hash CTYPE; /// stack trace