1 /* Copyright 1992, 1994 John Bovey, University of Kent at Canterbury. 2 * 3 * Redistribution and use in source code and/or executable forms, with 4 * or without modification, are permitted provided that the following 5 * condition is met: 6 * 7 * Any redistribution must retain the above copyright notice, this 8 * condition and the following disclaimer, either as part of the 9 * program source code included in the redistribution or in human- 10 * readable materials provided with the redistribution. 11 * 12 * THIS SOFTWARE IS PROVIDED "AS IS". Any express or implied 13 * warranties concerning this software are disclaimed by the copyright 14 * holder to the fullest extent permitted by applicable law. In no 15 * event shall the copyright-holder be liable for any damages of any 16 * kind, however caused and on any theory of liability, arising in any 17 * way out of the use of, or inability to use, this software. 18 * 19 * ------------------------------------------------------------------- 20 * 21 * In other words, do not misrepresent my work as your own work, and 22 * do not sue me if it causes problems. Feel free to do anything else 23 * you wish with it. 24 */ 25 26 /* @(#)xsetup.h 1.3 11/1/94 (UKC) */ 27 28 #ifdef __STDC__ 29 void fix_environment(void); 30 void init_display(int,char **,int,char **,char *); 31 int resize_window(void); 32 void switch_scrollbar(void); 33 void change_window_name(unsigned char *); 34 void change_icon_name(unsigned char *); 35 void error(char *,...); 36 void send_auth(void); 37 void map_window(void); 38 int is_logshell(void); 39 int is_eightbit(void); 40 int is_console(void); 41 void usage(int); 42 #else /* __STDC__ */ 43 void fix_environment(); 44 void init_display(); 45 int resize_window(); 46 void switch_scrollbar(); 47 void change_window_name(); 48 void change_icon_name(); 49 void error(); 50 void send_auth(); 51 void map_window(); 52 int is_logshell(); 53 int is_eightbit(); 54 int is_console(); 55 void usage(); 56 #endif /* __STDC__ */ 57