Commit | Line | Data |
---|---|---|
963ce42e | 1 | /* @(#)talk.h 1.2 %G% */ |
48adc376 MK |
2 | |
3 | #include <curses.h> | |
4 | #include <utmp.h> | |
5 | ||
963ce42e | 6 | #define forever for(;;) |
48adc376 | 7 | |
963ce42e | 8 | #define BUF_SIZE 512 |
48adc376 | 9 | |
963ce42e MK |
10 | FILE *popen(); |
11 | int quit(); | |
12 | int sleeper(); | |
48adc376 | 13 | |
963ce42e MK |
14 | extern int sockt; |
15 | extern int curses_initialized; | |
16 | extern int invitation_waiting; | |
48adc376 | 17 | |
963ce42e MK |
18 | extern char *current_state; |
19 | extern int current_line; | |
48adc376 MK |
20 | |
21 | typedef struct xwin { | |
963ce42e MK |
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; | |
48adc376 MK |
30 | } xwin_t; |
31 | ||
963ce42e MK |
32 | extern xwin_t my_win; |
33 | extern xwin_t his_win; | |
34 | extern WINDOW *line_win; |