xref: /csrg-svn/usr.bin/talk/talk.h (revision 16366)
1 /*	@(#)talk.h	1.2 04/11/84	*/
2 
3 #include <curses.h>
4 #include <utmp.h>
5 
6 #define forever		for(;;)
7 
8 #define BUF_SIZE	512
9 
10 FILE	*popen();
11 int	quit();
12 int	sleeper();
13 
14 extern	int sockt;
15 extern	int curses_initialized;
16 extern	int invitation_waiting;
17 
18 extern	char *current_state;
19 extern	int current_line;
20 
21 typedef struct xwin {
22 	WINDOW	*x_win;
23 	int	x_nlines;
24 	int	x_ncols;
25 	int	x_line;
26 	int	x_col;
27 	char	kill;
28 	char	cerase;
29 	char	werase;
30 } xwin_t;
31 
32 extern	xwin_t my_win;
33 extern	xwin_t his_win;
34 extern	WINDOW *line_win;
35