add Berkeley specific header
[unix-history] / usr / src / usr.bin / talk / talk.h
/*
* Copyright (c) 1983 Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
* provided that this notice is preserved and that due credit is given
* to the University of California at Berkeley. The name of the University
* may not be used to endorse or promote products derived from this
* software without specific prior written permission. This software
* is provided ``as is'' without express or implied warranty.
*
* @(#)talk.h 5.3 (Berkeley) %G%
*/
#include <curses.h>
#include <utmp.h>
#define forever for(;;)
int quit();
extern int sockt;
extern int curses_initialized;
extern int invitation_waiting;
extern char *current_state;
extern int current_line;
typedef struct xwin {
WINDOW *x_win;
int x_nlines;
int x_ncols;
int x_line;
int x_col;
char kill;
char cerase;
char werase;
} xwin_t;
extern xwin_t my_win;
extern xwin_t his_win;
extern WINDOW *line_win;