Commit | Line | Data |
---|---|---|
d0aeaf5a DF |
1 | /* |
2 | * Copyright (c) 1983 Regents of the University of California. | |
3 | * All rights reserved. The Berkeley software License Agreement | |
4 | * specifies the terms and conditions for redistribution. | |
5 | * | |
95f51977 | 6 | * @(#)talk.h 5.1 (Berkeley) 6/6/85 |
d0aeaf5a | 7 | */ |
48adc376 MK |
8 | |
9 | #include <curses.h> | |
10 | #include <utmp.h> | |
11 | ||
963ce42e | 12 | #define forever for(;;) |
48adc376 | 13 | |
963ce42e | 14 | #define BUF_SIZE 512 |
48adc376 | 15 | |
963ce42e MK |
16 | FILE *popen(); |
17 | int quit(); | |
18 | int sleeper(); | |
48adc376 | 19 | |
963ce42e MK |
20 | extern int sockt; |
21 | extern int curses_initialized; | |
22 | extern int invitation_waiting; | |
48adc376 | 23 | |
963ce42e MK |
24 | extern char *current_state; |
25 | extern int current_line; | |
48adc376 MK |
26 | |
27 | typedef struct xwin { | |
963ce42e MK |
28 | WINDOW *x_win; |
29 | int x_nlines; | |
30 | int x_ncols; | |
31 | int x_line; | |
32 | int x_col; | |
33 | char kill; | |
34 | char cerase; | |
35 | char werase; | |
48adc376 MK |
36 | } xwin_t; |
37 | ||
963ce42e MK |
38 | extern xwin_t my_win; |
39 | extern xwin_t his_win; | |
40 | extern WINDOW *line_win; |