--- parser3/src/include/pa_request.h 2001/03/20 17:21:51 1.64.2.1 +++ parser3/src/include/pa_request.h 2001/03/20 17:52:37 1.64.2.2 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: pa_request.h,v 1.64.2.1 2001/03/20 17:21:51 paf Exp $ + $Id: pa_request.h,v 1.64.2.2 2001/03/20 17:52:37 paf Exp $ */ #ifndef PA_REQUEST_H @@ -93,16 +93,12 @@ public: const String *name=0, bool intercept_string=true); // execute.C - /// write(const) = clean - void write(const String& astring) { - wcontext->write(astring, String::UL_NO); - } /// appending, sure of clean string inside - void write_no_lang(String& astring) { + void write_no_lang(const String& astring) { wcontext->write(astring, String::UL_NO); } /// appending string, passing language built into string being written - void write_pass_lang(String& astring) { + void write_pass_lang(const String& astring) { wcontext->write(astring, String::UL_PASS_APPENDED); } /// appending possible string, assigning untaint language @@ -123,7 +119,8 @@ public: } /// handy is-value-a-junction ensurer - void fail_if_junction_(bool is, Value& value, const String& method_name, char *msg); + void fail_if_junction_(bool is, Value& value, + const String& method_name, const char *msg); /// returns relative to @a path path to @a file char *relative(const char *path, const char *file);