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 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332
|
#ifndef _myvars_h_
#define _myvars_h_
/*
* My variables
*
* $Id: myvars.h,v 1.41 2007-08-21 12:52:48 f Exp $
*/
#include "mystructs.h"
#ifdef WANTANSI
/* Index of colors in Colors table */
#define COLOFF 0
#define COLBOLD 1
#define COLUNDERLINE 2
#define COLFLASH 3
#define COLREV 4
#define COLBLACK 5
#define COLRED 6
#define COLGREEN 7
#define COLYELLOW 8
#define COLBLUE 9
#define COLPURPLE 10
#define COLCYAN 11
#define COLWHITE 12
#define COLBLACKBG 13
#define COLREDBG 14
#define COLGREENBG 15
#define COLYELLOWBG 16
#define COLBLUEBG 17
#define COLPURPLEBG 18
#define COLCYANBG 19
#define COLWHITEBG 20
#define COLNOBOLD 21
/* Index of commands in CmdsColors table */
#define COLWARNING 0
#define COLJOIN 1
#define COLMSG 2
#define COLNOTICE 3
#define COLNETSPLIT 4
#define COLINVITE 5
#define COLMODE 6
#define COLSETTING 7
#define COLLEAVE 8
#define COLNOTIFY 9
#define COLCTCP 10
#define COLKICK 11
#define COLDCC 12
#define COLWHO 13
#define COLWHOIS 14
#define COLPUBLIC 15
#define COLCDCC 16
#define COLLINKS 17
#define COLDCCCHAT 18
#define COLCSCAN 19
#define COLNICK 20
#define COLME 21
#define COLMISC 22
#define COLSBAR1 23
#define COLSBAR2 24
#if defined(CELECOSM) && defined(OPERVISION)
#define COLCELE 25
#define COLOV 26
#elif defined(CELECOSM) && !defined(OPERVISION)
#define COLCELE 25
#elif defined(OPERVISION)
#define COLOV 25
#endif /* CELECOSM && OPERVISION */
#endif /* WANTANSI */
#define SAVEMSG 1
#define SAVENOTICE 2
#define SAVEMASS 4
#define SAVECOLL 8
#define SAVECDCC 16
#define SAVEDCC 32
#define SAVEPROT 64
#define SAVEHACK 128
#define SAVESRVM 256
#define SAVECTCP 512
#define SAVEFLOOD 1024
#define SAVEINVITE 2048
#define SAVEKILL 4096
#define SAVEKICK 8192
#define SAVESERVER 16384
#define SAVEFAKE 32768
#define SAVEAREPLY 65536
#define SAVECHAT 131072
#define SAVENOTIFY 262144
#define SAVESENTMSG 524288
#define SAVEAWAY 1048576
#define SAVEALL 2097151
extern struct friends *frlist;
extern struct autobankicks *abklist;
extern struct words *wordlist;
extern struct wholeftstr *wholist;
extern struct splitstr *splitlist,*splitlist1;
#ifdef ACID
extern struct list *nickwatchlist,*tmpnickwatch;
#endif
extern struct spingstr *spinglist;
extern struct encrstr *encrlist;
#ifdef WANTANSI
extern struct colorstr CmdsColors[NUMCMDCOLORS];
extern char *Colors[SZNUMCOLORS];
#endif
extern char defban;
extern char bold;
/****** Coded by Zakath ******/
#ifdef CELE
extern char *CelerityVersion;
extern char *CelerityL;
#endif
extern struct urlstr *urllist;
/*****************************/
extern char *mydefaultserver;
extern char *ScrollZstr;
extern char *ScrollZver;
#ifdef EXTRA_STUFF
extern char *EString;
#endif
extern char *DefaultServer;
extern char *DefaultSignOff;
extern char *DefaultSetAway;
extern char *DefaultSetBack;
extern char *DefaultUserinfo;
extern char *DefaultFinger;
extern char *AutoJoinChannels;
extern char *ModeLockString;
extern char *CdccUlDir;
extern char *CdccDlDir;
extern char *WhoKilled;
extern char *InviteChannels;
extern char *CdccChannels;
extern char *AutoRejoinChannels;
extern char *MDopWatchChannels;
extern char *ShowFakesChannels;
extern char *KickOnFloodChannels;
extern char *KickWatchChannels;
extern char *NHProtChannels;
extern char *NickWatchChannels;
extern char *ShowAwayChannels;
extern char *KickOpsChannels;
extern char *KickOnBanChannels;
extern char *BitchChannels;
extern char *FriendListChannels;
extern char *IdleKickChannels;
extern char *CompressModesChannels;
extern char *SignoffChannels;
extern char *BKChannels;
#if defined(EXTRAS) || defined(FLIER)
extern char *AutoInvChannels;
#endif
extern char *EncryptPassword;
#ifdef OPER
extern char *StatskFilter;
extern char *StatsiFilter;
extern char *StatscFilter;
extern char *StatslFilter;
extern char *StatsdFilter;
#endif
extern char *AutoReplyBuffer;
extern char *OrigNick;
extern char *LastChat;
extern char *CurrentDCC;
extern char *DefaultK;
extern char *DefaultBK;
extern char *DefaultBKI;
extern char *DefaultBKT;
extern char *DefaultFK;
extern char *DefaultLK;
extern char *DefaultABK;
extern char *DefaultSK;
#ifdef OPER
extern char *DefaultKill;
#endif
#ifdef ACID
extern char *ForceJoinChannels;
#endif
extern char *PermUserMode;
extern char *AutoReplyString;
extern char *ChanLogChannels;
extern char *ChanLogDir;
extern char *ChanLogPrefix;
extern char *ChanLogPostfix;
extern char *ExtTopicDelimiter;
#ifdef BLAXTHOS
extern char *OperNick;
extern char *OperPassword;
#endif
extern char *ShowChanChannels;
extern int usersloaded;
extern int inSZNotify;
extern int inSZLinks;
extern int inSZFKill;
extern int inSZTrace;
extern int ExtMes;
extern int NHProt;
extern int NHDisp;
extern int AutoGet;
extern int DeopSensor;
extern int KickSensor;
extern int NickSensor;
extern int AutoAwayTime;
extern int NickWatch;
extern int MDopWatch;
extern int KickWatch;
extern int NickTimer;
extern int MDopTimer;
extern int KickTimer;
extern int IgnoreTime;
extern int ShitIgnoreTime;
extern int AutoRejoin;
extern int AutoJoinOnInv;
extern int FloodProt;
extern int FloodMessages;
extern int FloodSeconds;
extern int CdccIdle;
extern int CdccLimit;
extern int CdccQueueLimit;
extern int CdccOverWrite;
#ifdef EXTRA_STUFF
extern int RenameFiles;
#endif
extern int Security;
extern int ServerNotice;
extern int CTCPCloaking;
extern int ShowFakes;
extern int ShowAway;
extern int AutoOpDelay;
#if defined(CELE)
extern struct timeval LagTimer;
#else
extern int LagTimer;
#endif
extern int KickOps;
extern int KickOnFlood;
extern int KickOnBan;
extern int NickChange;
#ifdef SCKICKS
extern int NumberOfScatterKicks;
#endif
extern int NumberOfSignOffMsgs;
extern int ShowNick;
extern int PlistTime;
extern int NlistTime;
extern int LinksNumber;
extern int AwaySaveSet;
extern int ShowWallop;
extern int LongStatus;
extern double BytesReceived;
extern double BytesSent;
extern int FriendList;
extern int OrigNickChange;
extern int IRCQuit;
extern int NotifyMode;
extern int URLCatch;
extern int Ego;
extern int LogOn;
extern int ShowDCCStatus;
extern int DCCDone;
extern int AutoNickCompl;
extern int Bitch;
extern int IdleKick;
extern int IdleTime;
extern int CdccStats;
extern int CompressModes;
extern int OrigNickDelay;
#ifdef WANTANSI
extern int DisplaymIRC;
#endif
extern int DCCWarning;
extern int ShowSignoffChan;
extern int Stamp;
extern int CdccVerbose;
extern int ARinWindow;
extern int BKList;
extern int OrigNickQuiet;
extern int OrigNickSent;
extern int OrigNickNumber;
#ifdef EXTRAS
extern int ShowSignAllChan;
extern int ShowNickAllChan;
#endif
extern int ExtPub;
extern int ChanLog;
extern int AwayEncrypt;
extern int BanTime;
extern int StatusLines;
extern int ShowChan;
/****** Coded by Zakath ******/
extern char *SPingServers;
extern int CdccPackNum;
extern int CdccSendNum;
extern int CdccRecvNum;
extern int AwayMsgNum;
extern char *URLBuffer;
#if defined(EXTRAS) || defined(FLIER)
extern int AutoInv;
#endif
#if defined(OPERVISION) && defined(WANTANSI)
extern int OperV;
#endif
#ifdef CELE
extern int SentAway;
#endif
#ifdef ACID
extern int ForceJoin;
#endif
/*****************************/
extern time_t LastCheck;
extern time_t LastPlist;
extern time_t LastNlist;
extern time_t LastServer;
extern time_t LastNick;
extern time_t LastLinks;
#ifdef CELE
extern struct friends *whoisfriend;
#endif
extern int from_server;
extern char *FromUserHost;
extern int set_away;
extern struct in_addr local_ip_address;
extern char *channel_join;
extern void *ComplLast;
extern void *ComplNext;
#endif /* _myvars_h_ */
|