--- parser3/src/include/pa_common.h 2003/11/06 08:48:59 1.95 +++ parser3/src/include/pa_common.h 2004/03/05 11:38:12 1.99 @@ -1,14 +1,14 @@ /** @file Parser: commonly used functions. - Copyright (c) 2001-2003 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001-2004 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ #ifndef PA_COMMON_H #define PA_COMMON_H -static const char* IDENT_COMMON_H="$Date: 2003/11/06 08:48:59 $"; +static const char * const IDENT_COMMON_H="$Date: 2004/03/05 11:38:12 $"; #include "pa_string.h" #include "pa_hash.h" @@ -151,7 +151,7 @@ void file_write( delete specified file throws an exception in case of problems */ -bool file_delete(const String& file_spec, bool fail_on_read_problem=true); +bool file_delete(const String& file_spec, bool fail_on_problem=true); /** move specified file throws an exception in case of problems @@ -209,6 +209,8 @@ void remove_crlf(char *start, char *end) void check_safe_mode(struct stat finfo, const String& file_spec, const char* fname); #endif +char* pa_base64(const char *in, size_t len); + // globals extern const String file_status_name;