/********************************************************* ** ** FILE: misc.h ** Nuetzliche Deklarationen ** ** AUTOR: Michael C. Ancutici ** ** DATUM: 07.03.93 ** *********************************************************/ #ifndef MISC_H #define MISC_H #include #define FF(s) fprintf( stderr, s ); #define OK 1 #define NOT_OK 0 #define TRUE 1 #define FALSE 0 #define YES 1 #define NO 0 #define SLASH '/' #define EOL '\0' #define TEXT_BUFFER_FULL -2 #define MEMORY_FULL -3 #define ATT_REM_NOEX_TXT -4 #define ATT_MOD_NOEX_TXT -5 /* #define MIN( a, b ) (((a) < (b)) ? (a) : (b)) #define MAX( a, b ) (((a) > (b)) ? (a) : (b)) */ #define ABS( x ) (((x) > 0) ? (x) : (-(x))) typedef char STRING[256]; typedef char STRING10[11]; typedef int BOOLEAN; typedef enum { INSERT_TEXT, REMTEXTVNR, MODTEXT } FUNKTION; typedef struct { int x, y; } KOORDINATE; #endif