--- parser3/src/include/pa_request.h 2002/04/19 11:59:43 1.133 +++ parser3/src/include/pa_request.h 2002/06/12 10:58:42 1.136 @@ -4,7 +4,7 @@ Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) - $Id: pa_request.h,v 1.133 2002/04/19 11:59:43 paf Exp $ + $Id: pa_request.h,v 1.136 2002/06/12 10:58:42 paf Exp $ */ #ifndef PA_REQUEST_H @@ -32,6 +32,7 @@ // consts +#define MAIN_METHOD_NAME "main" const uint ANTI_ENDLESS_EXECUTE_RECOURSION=500; // defines @@ -80,7 +81,6 @@ public: const char *content_type; size_t content_length; const char *cookie; - const char *user_agent; }; Request(Pool& apool, @@ -229,6 +229,9 @@ public: /// user's post data char *post_data; size_t post_size; + /// name of 'main' method + const String main_method_name; + /// operators are methods of this class Methoded& OP; /// $env:fields @@ -276,6 +279,13 @@ private: // core data */ uint anti_endless_execute_recoursion; +private: + + /// already executed some @conf method + bool configure_admin_done; + + void configure_admin(VStateless_class& conf_class, const String *source); + private: // compile.C VStateless_class& real_compile(COMPILE_PARAMS);