--- parser3/src/include/pa_common.h 2002/12/02 10:07:39 1.88 +++ parser3/src/include/pa_common.h 2003/04/11 12:29:19 1.91 @@ -1,14 +1,14 @@ /** @file Parser: commonly used functions. - Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001, 2003 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: 2002/12/02 10:07:39 $"; +static const char* IDENT_COMMON_H="$Date: 2003/04/11 12:29:19 $"; #include "pa_pool.h" #include "pa_string.h" @@ -231,4 +231,8 @@ int getMonthDays(int year, int month); void remove_crlf(char *start, char *end); +#ifdef PA_SAFE_MODE +void check_safe_mode(struct stat finfo, const String& file_spec, const char* fname); +#endif + #endif