--- parser3/src/include/pa_request.h 2005/08/09 08:14:50 1.179 +++ parser3/src/include/pa_request.h 2006/04/09 13:38:47 1.181 @@ -8,7 +8,7 @@ #ifndef PA_REQUEST_H #define PA_REQUEST_H -static const char * const IDENT_REQUEST_H="$Date: 2005/08/09 08:14:50 $"; +static const char * const IDENT_REQUEST_H="$Date: 2006/04/09 13:38:47 $"; #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; @@ -64,6 +63,12 @@ public: const Operation::Origin origin() const { return forigin; } }; + enum Skip { + SKIP_NOTHING, + SKIP_BREAK, + SKIP_CONTINUE + }; + private: Pool fpool; public: @@ -145,6 +150,7 @@ public: //@} /// interrupted flag, raised on signals [SIGPIPE] bool finterrupted; + Skip fskip; public: uint register_file(String::Body file_spec); @@ -297,6 +303,9 @@ public: void set_interrupted(bool ainterrupted) { finterrupted=ainterrupted; } bool get_interrupted() { return finterrupted; } + void set_skip(Skip askip) { fskip=askip; } + Skip get_skip() { return fskip; } + public: /// info from web server @@ -359,13 +368,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