]>
jfr.im git - irc/quakenet/lightweight.git/blob - globalexterns.h
2 This file is part of lightweight.
4 lightweight is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
9 lightweight is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with lightweight; if not, write to the Free Software
16 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 /* $Id: globalexterns.h,v 1.15 2004/08/18 16:07:50 froo Exp $ */
21 #ifndef __GLOBALEXTERNS_H
22 #define __GLOBALEXTERNS_H
30 extern char *nextline
; /* The next line to be parsed in chunkbuf. */
31 extern char *currentline
; /* The next line to be parsed through ParseLine. */
32 extern char *chunkbufentry
;
33 extern char chunkbuf
[CHUNKSIZE
];
34 extern int servermaxusers
[4096];
35 extern struct user
**usertablepointer
[4096];
36 extern struct account
*accounthashtable
[HASHMAX
];
37 extern struct user
*nickhashtable
[HASHMAX
];
38 extern struct reggedchannel
*channelhashtable
[HASHMAX
];
39 extern struct server
*servertree
[4096];
40 extern time_t startuptime
;
41 extern int memoryused
;
43 extern int burst_done
;
44 extern int global_enable
;
46 extern char MyServer
[4];
48 extern char server_port
[128];
49 extern char server_host
[128];
50 extern char server_pass
[128];
51 extern char my_nick
[NICKLEN
];
52 extern char my_numeric
[32];
53 extern char my_servername
[128];
54 extern char my_description
[256];
56 #ifndef HORRIBLE_DEOPALL_HACK
57 extern char o_nick
[NICKLEN
];
58 extern char o_login
[128];
59 extern char o_pass
[128];
60 extern char o_userserver
[256];
61 extern struct user
*Optr
;
67 #endif /* __GLOBALEXTERN_H */