--- parser3/src/include/pa_request.h 2001/10/24 10:49:47 1.106 +++ parser3/src/include/pa_request.h 2001/11/08 11:52:34 1.110 @@ -2,9 +2,9 @@ Parser: request class decl. Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) - Author: Alexander Petrosyan (http://design.ru/paf) + Author: Alexander Petrosyan (http://paf.design.ru) - $Id: pa_request.h,v 1.106 2001/10/24 10:49:47 parser Exp $ + $Id: pa_request.h,v 1.110 2001/11/08 11:52:34 paf Exp $ */ #ifndef PA_REQUEST_H @@ -19,6 +19,7 @@ #include "pa_vclass.h" #include "pa_vobject.h" #include "pa_venv.h" +#include "pa_vstatus.h" #include "pa_vform.h" #include "pa_vmath.h" #include "pa_vrequest.h" @@ -48,7 +49,7 @@ class Methoded; /// Main workhorse. class Request : public Pooled { - friend Temp_lang; + friend class Temp_lang; public: /// some information from web server @@ -67,7 +68,8 @@ public: Request(Pool& apool, Info& ainfo, - String::Untaint_lang adefault_lang ///< all tainted data default untainting lang + String::Untaint_lang adefault_lang, ///< all tainted data default untainting lang + bool status_allowed ///< status class allowed ); ~Request() {} @@ -158,6 +160,8 @@ public: Methoded& OP; /// $env:fields VEnv env; + /// $status:fields + VStatus status; /// $form:elements VForm form; /// $math:constants