#define MAX_PATH 93  /* Макс. длина пути DOS */
#define MODE unsigned char
#define min(a,b) ((a<b) ? (a) : (b))
#define max(a,b) ((a>b) ? (a) : (b))

typedef  char ( *CORRECTFUN )(char *, KEY, int);
 // Проверка правильности символа

extern int strlen__ (MODE *str,MODE *kol);

extern char isdigit(char c);
extern char isascii(char c);
extern MODE isunsigned (MODE *);
extern char isnumber(char *);
extern char Correct_Date (char* , KEY , int);
extern char Correct_Number (char *, KEY , int );
extern char Correct_Ascii (char *, KEY , int );
extern void toupper_ (MODE *);
extern void tolower_ (MODE *);
extern void LeftMargin (MODE *);
extern void LeftSide (MODE *, int);
extern void RightMargin (MODE *);
extern void RightSide (MODE *, int);
extern int atoi_ (MODE *);
extern long atol_ (MODE *);
extern void itoa_ (int, MODE *);
extern void ultoa_ (unsigned long, MODE *);
extern void infcpy_ (MODE *, MODE *); //Копирует без '\0'
extern void strset_ (MODE *, MODE, unsigned);
extern void strcpy_(MODE *,MODE *);
extern unsigned strlen_(MODE *);
extern unsigned strpos_(MODE *,MODE);
extern void strcat_ (MODE *, MODE *);
extern MODE *strchr_ (MODE *, MODE);
extern MODE *strrchr_ (MODE *, MODE);
extern void memcpy_ (MODE *, MODE *, unsigned);
extern void memset_ (MODE *, MODE ,unsigned);
extern void Push (MODE *),Pop(MODE *);
extern CORRECTFUN Correct_String;
 // Указатель на функцию проверки ввода строки
extern MODE DELAFTER1;
 // Уничтожать ли строку после 1 допустимого символа - по умолчанию Да