--- parser3/src/include/pa_common.h 2001/03/26 10:36:53 1.26 +++ parser3/src/include/pa_common.h 2001/03/27 14:50:46 1.28 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: pa_common.h,v 1.26 2001/03/26 10:36:53 paf Exp $ + $Id: pa_common.h,v 1.28 2001/03/27 14:50:46 paf Exp $ */ #ifndef PA_COMMON_H @@ -92,6 +92,8 @@ void file_write(Pool& pool, */ void file_delete(Pool& pool, const String& file_spec); +bool file_readable(const String& file_spec); + /** scans for @a delim[default \n] in @a *row_ref, @return piece of line before it or end of string, if no @a delim found @@ -126,5 +128,9 @@ const String& attributed_meaning_to_stri void back_slashes_to_slashes(char *s); #endif +#ifndef _qsort +# define _qsort(names,cnt,sizeof_names,func_addr) \ + qsort(names,cnt,sizeof_names,func_addr) +#endif #endif