--- parser3/src/include/pa_request.h 2004/07/30 10:55:21 1.176 +++ parser3/src/include/pa_request.h 2006/04/09 12:25:04 1.180.8.1 @@ -1,14 +1,14 @@ /** @file Parser: request class decl. - Copyright (c) 2001-2004 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001-2005 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ #ifndef PA_REQUEST_H #define PA_REQUEST_H -static const char * const IDENT_REQUEST_H="$Date: 2004/07/30 10:55:21 $"; +static const char * const IDENT_REQUEST_H="$Date: 2006/04/09 12:25:04 $"; #include "pa_pool.h" #include "pa_hash.h" @@ -33,7 +33,6 @@ const size_t pseudo_file_no__process=1; class Temp_lang; class Methoded; class VMethodFrame; -class GdomeDOMString_auto_ptr; class VMail; class VForm; class VResponse; @@ -145,6 +144,7 @@ public: //@} /// interrupted flag, raised on signals [SIGPIPE] bool finterrupted; + int fbreak; public: uint register_file(String::Body file_spec); @@ -297,6 +297,9 @@ public: void set_interrupted(bool ainterrupted) { finterrupted=ainterrupted; } bool get_interrupted() { return finterrupted; } + void set_break(int abreak) { fbreak=abreak; } + int get_break() { return fbreak; } + public: /// info from web server @@ -359,13 +362,11 @@ public: // status read methods public: // charset helpers /// @see Charset::transcode - GdomeDOMString_auto_ptr transcode(const String& s); - /// @see Charset::transcode - GdomeDOMString_auto_ptr transcode(const String::Body s); + xmlChar* transcode(const String& s); /// @see Charset::transcode - const String& transcode(GdomeDOMString* s); + xmlChar* transcode(const String::Body s); /// @see Charset::transcode - const String& transcode(xmlChar* s); + const String& transcode(const xmlChar* s); #endif @@ -376,6 +377,8 @@ private: void configure_admin(VStateless_class& conf_class); + void configure(); + private: // compile.C VStateless_class& compile(VStateless_class* aclass, @@ -385,6 +388,7 @@ private: // compile.C private: // execute.C + void put_element(Value& ncontext, const String& name, Value& value); Value& get_element(Value& ncontext, const String& name, bool can_call_operator); private: // defaults