--- parser3/src/include/pa_common.h 2002/08/01 11:26:46 1.78 +++ parser3/src/include/pa_common.h 2002/09/18 12:40:38 1.82 @@ -8,7 +8,7 @@ #ifndef PA_COMMON_H #define PA_COMMON_H -static const char* IDENT_COMMON_H="$Id: pa_common.h,v 1.78 2002/08/01 11:26:46 paf Exp $"; +static const char* IDENT_COMMON_H="$Date: 2002/09/18 12:40:38 $"; #include "pa_pool.h" #include "pa_string.h" @@ -144,6 +144,8 @@ bool file_delete(const String& file_spec */ void file_move(const String& old_spec, const String& new_spec); +bool entry_exists(const char *fname, struct stat *afinfo=0); +bool entry_exists(const String& file_spec); bool file_readable(const String& file_spec); bool dir_readable(const String& file_spec); String *file_readable(const String& path, const String& name); @@ -179,14 +181,6 @@ size_t stdout_write(const void *buf, siz char *unescape_chars(Pool& pool, const char *cp, int len); -/** - $content-type[text/html] -> - content-type: text/html - $content-type[$value[text/html] charset[windows-1251]] -> - content-type: text/html; charset=windows-1251 -*/ -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);