File: globals.h

package info (click to toggle)
utalk 1.0.1.beta-6
  • links: PTS
  • area: main
  • in suites: woody
  • size: 340 kB
  • ctags: 667
  • sloc: ansic: 5,581; makefile: 67
file content (39 lines) | stat: -rw-r--r-- 857 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/* utalk, a UDP-based "talk" replacement, using srdp
   by Roger Espel Llima <roger.espel.llima@pobox.com>

   globals.h

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation. See the file LICENSE for details.
*/

#ifndef GLOBALS_H
#define GLOBALS_H

#include <stdio.h>

#define UTALK_VERSION "1.0.1 beta"

extern int errno;

extern struct user *users[300];
extern int eight_bit_clean;
extern int cols, lines;
extern int beep_on;
extern int cannotrun;
extern int connected;
extern int wordwrap;
extern int in_main_loop;
extern int meta_esc;

#define TTYREAD 0
#define TTYWRITE 1

extern volatile int screen_inited;
extern volatile int mustdie;
extern volatile int winch, newcols, newlines;
extern volatile int mustredisplay;

#endif