home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
games
/
volume4
/
bridge
/
part02
/
talk.h
< prev
Wrap
C/C++ Source or Header
|
1988-05-31
|
656b
|
41 lines
/* @(#)talk.h 1.1 86/02/05 SMI; from UCB 1.2 83/04/23 */
#include <curses.h>
#include <utmp.h>
#define forever for(;;)
#define BUF_SIZE 512
#define PUT 1
#define GET 2
#define TYPE buf.type
#define WN buf.wn
#define ROW buf.row
#define COL buf.col
#define STR buf.string
FILE *popen();
int quit(), sleeper();
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;
} xwin_t;
extern xwin_t comwin[19];
typedef struct {
char type, wn, row, col;
char string[40];
} BMSG;