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