xref: /original-bsd/usr.bin/talk/talk.h (revision c3e32dec)
1 /*
2  * Copyright (c) 1983, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  *
7  *	@(#)talk.h	8.1 (Berkeley) 06/06/93
8  */
9 
10 #include <curses.h>
11 
12 extern	int sockt;
13 extern	int curses_initialized;
14 extern	int invitation_waiting;
15 
16 extern	char *current_state;
17 extern	int current_line;
18 
19 typedef struct xwin {
20 	WINDOW	*x_win;
21 	int	x_nlines;
22 	int	x_ncols;
23 	int	x_line;
24 	int	x_col;
25 	char	kill;
26 	char	cerase;
27 	char	werase;
28 } xwin_t;
29 
30 extern	xwin_t my_win;
31 extern	xwin_t his_win;
32 extern	WINDOW *line_win;
33