/* @(#)x_defs.h 17.1.1.1 (ESO-IPG) 01/25/02 17:30:44 */ /* @(#)x_defs.h 1.0.0.0 (ESO-La Silla) 10/08/91 12:00:00 */ /*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .IDENT x_defs.h .MODULE header .LANGUAGE C .AUTHOR Cristian Levin - ESO La Silla .PURPOSE Contain extern declarations of variables and functions, #includes, #defines and typedefs related to X. .KEYWORDS X11 definitions. .COMMENTS Athena widgets implementation. .VERSION 1.0 1-Mar-1991 Implementation .ENVIRONMENT UNIX ------------------------------------------------------------*/ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include /* incompatibility of header file with X11R4 documentation */ #define XawChainTop XtChainTop #define XawChainBottom XtChainBottom #define XawChainLeft XtChainLeft #define XawChainRight XtChainRight #define WidgetOf XtNameToWidget #ifndef AssignMax #define AssignMax(x, y) if ((y) > (x)) x = (y) #endif #ifndef AssignMin #define AssignMin(x, y) if ((y) < (x)) x = (y) #endif #define LASTCH(s) (s[strlen(s)-1]) #define SECLASTCH(s) (s[strlen(s)-2]) #define LINESIZ 512 /* input line length */ #define MAXARGS 20 /* max number of args */ #define MAXTEXT 10240 /* Max. lines in text window */ #ifdef SUNOS4 typedef struct dirent Directory; #else typedef struct direct Directory; #endif