BSD 4_3 release
[unix-history] / usr / src / old / talk / talk.h
CommitLineData
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
16FILE *popen();
17int quit();
18int sleeper();
48adc376 19
963ce42e
MK
20extern int sockt;
21extern int curses_initialized;
22extern int invitation_waiting;
48adc376 23
963ce42e
MK
24extern char *current_state;
25extern int current_line;
48adc376
MK
26
27typedef 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
38extern xwin_t my_win;
39extern xwin_t his_win;
40extern WINDOW *line_win;