-
Notifications
You must be signed in to change notification settings - Fork 0
/
ext.h
77 lines (69 loc) · 2.28 KB
/
ext.h
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
extern unsigned char stdoutbuf[STDOUTBUFSIZ];
extern struct room sroom;
extern struct room *room;
extern short curr;
extern long savedhighest;
extern struct btmp *mybtmp;
extern struct bigbtmp *bigbtmp;
extern struct user *ouruser; /* The person we have logged in here */
extern struct voteinfo *voteinfo; /* Voting booth */
extern short logintime;
extern char sysopflags;
extern short pid; /* pid of this process */
extern char pbuf[MAXNAME + 1];
extern char profile_default[MAXALIAS + 1]; /* Default name to profile */
extern char xreply[MAXALIAS + 1];
extern char to[MAXALIAS + 1];
extern char nonew; /* No new users accepted this site */
extern char **ARGV;
extern struct termios saveterm;
extern char tty;
extern char client; /* Is connected to a BBS client */
extern char block;
extern int byte;
extern short dead; /* True if the client might be dead */
extern time_t lastwho;
extern short postcount;
extern short xcount;
extern int numposts;
extern char guest;
extern char lastcr;
extern unsigned char *msgstart;
extern unsigned char *tmpstart;
extern struct msg *msg;
extern unsigned char *xmsg;
extern short xmsgnum;
extern char curr_syself[MAXALIAS + 1];
extern unsigned char skipping[(MAXROOMS >> 3) + 1];
extern char ansi;
extern short rows;
extern int alt;
#ifdef APRILFOOL
extern int aprfool; /* Muahaha */
#endif
extern int randcnt;
extern int randchar;
extern char state;
extern unsigned char subbuffer[8];
extern unsigned char *subpointer;
extern unsigned char *subend;
extern char lockflags;
extern char f_death;
extern char f_alarm;
extern char f_qalarm;
extern char f_reread;
extern char f_term;
extern char f_quit;
extern char f_restart;
extern time_t lastbcast;
extern struct bigbtmp *q;
extern volatile char foo;
#ifdef extern
const char months[12][4] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" };
#else
extern const char months[12][4];
#endif
extern int sfd; /* Socket fd */
#ifdef _SSL
extern SSL *ssl;
#endif