--- parser3/src/include/pa_string.h 2001/04/08 13:11:17 1.76 +++ parser3/src/include/pa_string.h 2001/04/09 15:48:56 1.79 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: pa_string.h,v 1.76 2001/04/08 13:11:17 paf Exp $ + $Id: pa_string.h,v 1.79 2001/04/09 15:48:56 paf Exp $ */ #ifndef PA_STRING_H @@ -111,7 +111,7 @@ public: public: - String(Pool& apool, const char *src=0, bool tainted=false); + String(Pool& apool, const char *src=0, size_t src_size=0, bool tainted=false); String(const String& src); size_t size() const { return fsize; } /// convert to C string. if 'lang' known, forcing 'lang' to it @@ -247,7 +247,9 @@ private: return append_here == link_row; } void expand(); - char *String::store_to(char *dest, + + /// convert to C string, store to 'dest' which must be big enough for proper untaint + char *store_to(char *dest, Untaint_lang lang=UL_UNSPECIFIED, SQL_Connection *connection=0) const; private: //disabled