talk.h (da52b4caaf187775f6b56a72c6b16e94ad728f7b) talk.h (b8d48d6233f9e4dea8aa24fe12c059e0baaacd2f)
1/*
2 * Copyright (c) 1983, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 24 unchanged lines hidden (view full) ---

33#include <sys/cdefs.h>
34#include <sys/types.h>
35#include <sys/time.h>
36#include <sys/socket.h>
37#include <netinet/in.h>
38#include <arpa/inet.h>
39#include <protocols/talkd.h>
40#include <curses.h>
1/*
2 * Copyright (c) 1983, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 24 unchanged lines hidden (view full) ---

33#include <sys/cdefs.h>
34#include <sys/types.h>
35#include <sys/time.h>
36#include <sys/socket.h>
37#include <netinet/in.h>
38#include <arpa/inet.h>
39#include <protocols/talkd.h>
40#include <curses.h>
41#include <signal.h>
41
42extern int sockt;
43extern int curses_initialized;
44extern int invitation_waiting;
45
46extern const char *current_state;
47extern int current_line;
48
42
43extern int sockt;
44extern int curses_initialized;
45extern int invitation_waiting;
46
47extern const char *current_state;
48extern int current_line;
49
50extern volatile sig_atomic_t gotwinch;
51
49typedef struct xwin {
50 WINDOW *x_win;
51 int x_nlines;
52 int x_ncols;
53 int x_line;
54 int x_col;
55 char kill;
56 char cerase;

--- 36 unchanged lines hidden ---
52typedef struct xwin {
53 WINDOW *x_win;
54 int x_nlines;
55 int x_ncols;
56 int x_line;
57 int x_col;
58 char kill;
59 char cerase;

--- 36 unchanged lines hidden ---