--- parser3/src/include/pa_common.h 2001/04/03 06:23:04 1.30 +++ parser3/src/include/pa_common.h 2001/04/09 11:04:10 1.35 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: pa_common.h,v 1.30 2001/04/03 06:23:04 paf Exp $ + $Id: pa_common.h,v 1.35 2001/04/09 11:04:10 paf Exp $ */ #ifndef PA_COMMON_H @@ -15,8 +15,9 @@ #include #include "pa_pool.h" +#include "pa_string.h" -class String; +//class String; class Value; #if _MSC_VER @@ -130,11 +131,11 @@ const char *unescape_chars(Pool& pool, c $content-type[$value[text/html] charset[windows-1251]] -> content-type: text/html; charset=windows-1251 */ -const String& attributed_meaning_to_string(Value& meaning); - +const String& attributed_meaning_to_string(Value& meaning, String::Untaint_lang lang); #ifdef WIN32 void back_slashes_to_slashes(char *s); +//void slashes_to_back_slashes(char *s); #endif #ifndef _qsort @@ -142,4 +143,6 @@ void back_slashes_to_slashes(char *s); qsort(names,cnt,sizeof_names,func_addr) #endif +bool StrEqNc(const char *s1, const char *s2, bool strict); + #endif