| 1 | /* |
| 2 | * Copyright (C) 2001 Marco Ziech ([email protected]) |
| 3 | * Copyright (C) 2005 Bryan Biedenkapp ([email protected]) |
| 4 | * Copyright (C) 2006,2007 Pelish ([email protected]) |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or |
| 7 | * modify it under the terms of the GNU General Public License |
| 8 | * as published by the Free Software Foundation; either version 2 |
| 9 | * of the License, or (at your option) any later version. |
| 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | * GNU General Public License for more details. |
| 15 | * |
| 16 | * You should have received a copy of the GNU General Public License |
| 17 | * along with this program; if not, write to the Free Software |
| 18 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 19 | */ |
| 20 | #ifndef INCLUDED_IRC_PROTOCOL_TYPES |
| 21 | #define INCLUDED_IRC_PROTOCOL_TYPEScxx . . $ `src/common/irc_protocol.h:21:9`! |
| 22 | |
| 23 | |
| 24 | |
| 25 | #endif |
| 26 | |
| 27 | |
| 28 | /*****/ |
| 29 | #ifndef JUST_NEED_TYPES |
| 30 | #ifndef INCLUDED_INIT_PROTOCOL_PROTOS |
| 31 | #define INCLUDED_INIT_PROTOCOL_PROTOScxx . . $ `src/common/irc_protocol.h:31:9`! |
| 32 | |
| 33 | /* IRC Defines */ |
| 34 | #define WOL_NICKNAME_LENcxx . . $ `src/common/irc_protocol.h:34:9`! 9 |
| 35 | |
| 36 | #define CHANNEL_PREFIXcxx . . $ `src/common/irc_protocol.h:36:9`! "(ohv)@%+" |
| 37 | #define CHANNEL_TYPEcxx . . $ `src/common/irc_protocol.h:37:9`! "#" |
| 38 | |
| 39 | /* Reply Defines */ |
| 40 | /* The following defines were taken from include/numeric.h |
| 41 | * of the undernet-ircd distribution. |
| 42 | * See http://www.undernet.org/ |
| 43 | */ |
| 44 | /** reply's */ |
| 45 | #define RPL_WELCOMEcxx . . $ `src/common/irc_protocol.h:45:9`! 1 |
| 46 | #define RPL_YOURHOSTcxx . . $ `src/common/irc_protocol.h:46:9`! 2 |
| 47 | #define RPL_CREATEDcxx . . $ `src/common/irc_protocol.h:47:9`! 3 |
| 48 | #define RPL_MYINFOcxx . . $ `src/common/irc_protocol.h:48:9`! 4 |
| 49 | #define RPL_ISUPPORTcxx . . $ `src/common/irc_protocol.h:49:9`! 5 /* Undernet/Dalnet extension */ |
| 50 | /* RPL_BOUNCE IRCnet extension */ |
| 51 | /* RPL_MAP 6 unreal */ |
| 52 | /* RPL_MAPEND 7 unreal */ |
| 53 | #define RPL_SNOMASKcxx . . $ `src/common/irc_protocol.h:53:9`! 8 /* Undernet extension */ |
| 54 | #define RPL_STATMEMTOTcxx . . $ `src/common/irc_protocol.h:54:9`! 9 /* Undernet extension */ |
| 55 | #define RPL_STATMEMcxx . . $ `src/common/irc_protocol.h:55:9`! 10 /* Undernet extension */ |
| 56 | /* RPL_YOURCOOKIE 14 IRCnet extension */ |
| 57 | #define RPL_MAPcxx . . $ `src/common/irc_protocol.h:57:9`! 15 /* Undernet extension */ |
| 58 | #define RPL_MAPMOREcxx . . $ `src/common/irc_protocol.h:58:9`! 16 /* Undernet extension */ |
| 59 | #define RPL_MAPENDcxx . . $ `src/common/irc_protocol.h:59:9`! 17 /* Undernet extension */ |
| 60 | /* RPL_YOURID 42 IRCnet extension */ |
| 61 | /* RPL_ATTEMPTINGJUNC 50 aircd extension */ |
| 62 | /* RPL_ATTEMPTINGREROUTE 51 aircd extension */ |
| 63 | |
| 64 | /* |
| 65 | * Numberic replies from server commands. |
| 66 | * These are currently in the range 200-399. |
| 67 | */ |
| 68 | |
| 69 | #define RPL_TRACELINKcxx . . $ `src/common/irc_protocol.h:69:9`! 200 |
| 70 | #define RPL_TRACECONNECTINGcxx . . $ `src/common/irc_protocol.h:70:9`! 201 |
| 71 | #define RPL_TRACEHANDSHAKEcxx . . $ `src/common/irc_protocol.h:71:9`! 202 |
| 72 | #define RPL_TRACEUNKNOWNcxx . . $ `src/common/irc_protocol.h:72:9`! 203 |
| 73 | #define RPL_TRACEOPERATORcxx . . $ `src/common/irc_protocol.h:73:9`! 204 |
| 74 | #define RPL_TRACEUSERcxx . . $ `src/common/irc_protocol.h:74:9`! 205 |
| 75 | #define RPL_TRACESERVERcxx . . $ `src/common/irc_protocol.h:75:9`! 206 |
| 76 | #define RPL_TRACENEWTYPEcxx . . $ `src/common/irc_protocol.h:76:9`! 208 |
| 77 | #define RPL_TRACECLASScxx . . $ `src/common/irc_protocol.h:77:9`! 209 |
| 78 | /* RPL_STATS 210 aircd extension, used instead of having |
| 79 | multiple stats numerics */ |
| 80 | /* RPL_TRACERECONNECT 210 IRCnet extension */ |
| 81 | #define RPL_STATSLINKINFOcxx . . $ `src/common/irc_protocol.h:81:9`! 211 |
| 82 | #define RPL_STATSCOMMANDScxx . . $ `src/common/irc_protocol.h:82:9`! 212 |
| 83 | #define RPL_STATSCLINEcxx . . $ `src/common/irc_protocol.h:83:9`! 213 |
| 84 | /* RPL_STATSOLDNLINE 214 unreal */ |
| 85 | #define RPL_STATSNLINEcxx . . $ `src/common/irc_protocol.h:85:9`! 214 /* unused */ |
| 86 | #define RPL_STATSILINEcxx . . $ `src/common/irc_protocol.h:86:9`! 215 |
| 87 | #define RPL_STATSKLINEcxx . . $ `src/common/irc_protocol.h:87:9`! 216 |
| 88 | #define RPL_STATSPLINEcxx . . $ `src/common/irc_protocol.h:88:9`! 217 /* Undernet extenstion */ |
| 89 | /* RPL_STATSQLINE 217 Various */ |
| 90 | #define RPL_STATSYLINEcxx . . $ `src/common/irc_protocol.h:90:9`! 218 |
| 91 | #define RPL_ENDOFSTATScxx . . $ `src/common/irc_protocol.h:91:9`! 219 /* See also RPL_STATSDLINE */ |
| 92 | /* RPL_STATSPLINE 220 Hybrid - Because 217 was for |
| 93 | old Q: lines. */ |
| 94 | /* RPL_STATSBLINE 220 Numerics List: Dalnet,unreal */ |
| 95 | #define RPL_UMODEIScxx . . $ `src/common/irc_protocol.h:95:9`! 221 |
| 96 | /* RPL_SQLINE_NICK 222 Numerics List: Dalnet */ |
| 97 | /* RPL_STATSELINE 223 dalnet */ |
| 98 | /* RPL_STATSGLINE 223 unreal */ |
| 99 | /* RPL_STATSFLINE 224 Hybrid extension,Dalnet */ |
| 100 | /* RPL_STATSTLINE 224 unreal */ |
| 101 | /* RPL_STATSDLINE 225 Hybrid extension */ |
| 102 | /* RPL_STATSZLINE 225 Dalnet |
| 103 | RPL_STATSELINE 225 unreal |
| 104 | RPL_STATSCOUNT 226 Dalnet |
| 105 | RPL_STATSNLINE 226 unreal |
| 106 | RPL_STATSGLINE 227 Dalnet |
| 107 | RPL_STATSVLINE 227 unreal */ |
| 108 | |
| 109 | #define RPL_SERVICEINFOcxx . . $ `src/common/irc_protocol.h:109:9`! 231 /* unused */ |
| 110 | #define RPL_ENDOFSERVICEScxx . . $ `src/common/irc_protocol.h:110:9`! 232 /* unused */ |
| 111 | /* RPL_RULES 232 unreal */ |
| 112 | #define RPL_SERVICEcxx . . $ `src/common/irc_protocol.h:112:9`! 233 /* unused */ |
| 113 | #define RPL_SERVLISTcxx . . $ `src/common/irc_protocol.h:113:9`! 234 /* unused */ |
| 114 | #define RPL_SERVLISTENDcxx . . $ `src/common/irc_protocol.h:114:9`! 235 /* unused */ |
| 115 | |
| 116 | #define RPL_STATSENGINEcxx . . $ `src/common/irc_protocol.h:116:9`! 237 /* Undernet engine name */ |
| 117 | #define RPL_STATSFLINEcxx . . $ `src/common/irc_protocol.h:117:9`! 238 /* Undernet feature lines */ |
| 118 | /* RPL_STATSIAUTH 239 IRCnet extension */ |
| 119 | /* RPL_STATSVLINE 240 IRCnet extension */ |
| 120 | /* RPL_STATSXLINE 240 austnet */ |
| 121 | #define RPL_STATSLLINEcxx . . $ `src/common/irc_protocol.h:121:9`! 241 |
| 122 | #define RPL_STATSUPTIMEcxx . . $ `src/common/irc_protocol.h:122:9`! 242 |
| 123 | #define RPL_STATSOLINEcxx . . $ `src/common/irc_protocol.h:123:9`! 243 |
| 124 | #define RPL_STATSHLINEcxx . . $ `src/common/irc_protocol.h:124:9`! 244 |
| 125 | /* RPL_STATSSLINE 245 Reserved / Dalnet / IRCnet / EFnet */ |
| 126 | /* RPL_STATSSPING 246 Numerics List: IRCnet */ |
| 127 | #define RPL_STATSTLINEcxx . . $ `src/common/irc_protocol.h:127:9`! 246 /* Undernet extension */ |
| 128 | /* RPL_STATSULINE 246 Dalnet */ |
| 129 | #define RPL_STATSGLINEcxx . . $ `src/common/irc_protocol.h:129:9`! 247 /* Undernet extension */ |
| 130 | /* RPL_STATSXLINE 247 hybrid extension,PTlink,unreal */ |
| 131 | /* RPL_STATSBLINE 247 Numerics List: IRCnet */ |
| 132 | #define RPL_STATSULINEcxx . . $ `src/common/irc_protocol.h:132:9`! 248 /* Undernet extension */ |
| 133 | /* RPL_STATSDEFINE 248 Numerics List: IRCnet */ |
| 134 | #define RPL_STATSDEBUGcxx . . $ `src/common/irc_protocol.h:134:9`! 249 /* Extension to RFC1459 */ |
| 135 | #define RPL_STATSCONNcxx . . $ `src/common/irc_protocol.h:135:9`! 250 /* Undernet extension */ |
| 136 | /* RPL_STATSDLINE 250 Numerics List: IRCnet */ |
| 137 | |
| 138 | #define RPL_LUSERCLIENTcxx . . $ `src/common/irc_protocol.h:138:9`! 251 |
| 139 | #define RPL_LUSEROPcxx . . $ `src/common/irc_protocol.h:139:9`! 252 |
| 140 | #define RPL_LUSERUNKNOWNcxx . . $ `src/common/irc_protocol.h:140:9`! 253 |
| 141 | #define RPL_LUSERCHANNELScxx . . $ `src/common/irc_protocol.h:141:9`! 254 |
| 142 | #define RPL_LUSERMEcxx . . $ `src/common/irc_protocol.h:142:9`! 255 |
| 143 | #define RPL_ADMINMEcxx . . $ `src/common/irc_protocol.h:143:9`! 256 |
| 144 | #define RPL_ADMINLOC1cxx . . $ `src/common/irc_protocol.h:144:9`! 257 |
| 145 | #define RPL_ADMINLOC2cxx . . $ `src/common/irc_protocol.h:145:9`! 258 |
| 146 | #define RPL_ADMINEMAILcxx . . $ `src/common/irc_protocol.h:146:9`! 259 |
| 147 | |
| 148 | #define RPL_TRACELOGcxx . . $ `src/common/irc_protocol.h:148:9`! 261 /* unused */ |
| 149 | #define RPL_TRACEPINGcxx . . $ `src/common/irc_protocol.h:149:9`! 262 /* Extension to RFC1459, unused */ |
| 150 | /* RPL_TRACEEND 262 efnet(?) Numerics List: IRCnet */ |
| 151 | /* RPL_LOAD_THROTTLED 263 efnet/hybrid */ |
| 152 | /* RPL_TRYAGAIN 263 Numerics List: IRCnet */ |
| 153 | /* RPL_LOAD2HI 263 Dalnet */ |
| 154 | /* RPL_CURRENT_LOCAL 265 aircd/efnet/hybrid/dalnet*/ |
| 155 | /* RPL_CURRENT_GLOBAL 266 aircd/efnet/hybrid/dalnet */ |
| 156 | /* RPL_START_NETSTAT 267 aircd */ |
| 157 | /* RPL_NETSTAT 268 aircd */ |
| 158 | /* RPL_END_NETSTAT 269 aircd */ |
| 159 | #define RPL_PRIVScxx . . $ `src/common/irc_protocol.h:159:9`! 270 /* Undernet extension - privs */ |
| 160 | #define RPL_SILELISTcxx . . $ `src/common/irc_protocol.h:160:9`! 271 /* Undernet extension */ |
| 161 | #define RPL_ENDOFSILELISTcxx . . $ `src/common/irc_protocol.h:161:9`! 272 /* Undernet extension */ |
| 162 | /* RPL_NOTIFY 273 aircd */ |
| 163 | /* RPL_END_NOTIFY 274 aircd */ |
| 164 | /* RPL_STATSDELTA 274 IRCnet extension */ |
| 165 | #define RPL_STATSDLINEcxx . . $ `src/common/irc_protocol.h:165:9`! 275 /* Undernet extension */ |
| 166 | |
| 167 | #define RPL_GLISTcxx . . $ `src/common/irc_protocol.h:167:9`! 280 /* Undernet extension */ |
| 168 | #define RPL_ENDOFGLISTcxx . . $ `src/common/irc_protocol.h:168:9`! 281 /* Undernet extension */ |
| 169 | #define RPL_JUPELISTcxx . . $ `src/common/irc_protocol.h:169:9`! 282 /* Undernet extension - jupe -Kev */ |
| 170 | #define RPL_ENDOFJUPELISTcxx . . $ `src/common/irc_protocol.h:170:9`! 283 /* Undernet extension - jupe -Kev */ |
| 171 | #define RPL_FEATUREcxx . . $ `src/common/irc_protocol.h:171:9`! 284 /* Undernet extension - features */ |
| 172 | /* RPL_CHANINFO_HANDLE 285 aircd */ |
| 173 | /* RPL_CHANINFO_USERS 286 aircd */ |
| 174 | /* RPL_CHANINFO_CHOPS 287 aircd */ |
| 175 | /* RPL_CHANINFO_VOICES 288 aircd */ |
| 176 | /* RPL_CHANINFO_AWAY 289 aircd */ |
| 177 | /* RPL_CHANINFO_OPERS 290 aircd */ |
| 178 | /* RPL_HELPHDR 290 Numeric List: Dalnet */ |
| 179 | /* RPL_CHANINFO_BANNED 291 aircd */ |
| 180 | /* RPL_HELPOP 291 Numeric List: Dalnet */ |
| 181 | /* RPL_CHANINFO_BANS 292 aircd */ |
| 182 | /* RPL_HELPTLR 292 Numeric List: Dalnet */ |
| 183 | /* RPL_CHANINFO_INVITE 293 aircd */ |
| 184 | /* RPL_HELPHLP 293 Numeric List: Dalnet */ |
| 185 | /* RPL_CHANINFO_INVITES 294 aircd */ |
| 186 | /* RPL_HELPFWD 294 Numeric List: Dalnet */ |
| 187 | /* RPL_CHANINFO_KICK 295 aircd */ |
| 188 | /* RPL_HELPIGN 295 Numeric List: Dalnet */ |
| 189 | /* RPL_CHANINFO_KICKS 296 aircd */ |
| 190 | |
| 191 | /* RPL_END_CHANINFO 299 aircd */ |
| 192 | |
| 193 | #define RPL_NONEcxx . . $ `src/common/irc_protocol.h:193:9`! 300 /* unused */ |
| 194 | #define RPL_AWAYcxx . . $ `src/common/irc_protocol.h:194:9`! 301 |
| 195 | #define RPL_USERHOSTcxx . . $ `src/common/irc_protocol.h:195:9`! 302 |
| 196 | #define RPL_ISONcxx . . $ `src/common/irc_protocol.h:196:9`! 303 |
| 197 | #define RPL_TEXTcxx . . $ `src/common/irc_protocol.h:197:9`! 304 /* unused */ |
| 198 | #define RPL_UNAWAYcxx . . $ `src/common/irc_protocol.h:198:9`! 305 |
| 199 | #define RPL_NOWAWAYcxx . . $ `src/common/irc_protocol.h:199:9`! 306 |
| 200 | #define RPL_USERIPcxx . . $ `src/common/irc_protocol.h:200:9`! 307 /* Undernet extension */ |
| 201 | /* NotAway, aircd */ |
| 202 | /* RPL_WHOISREGNICK 307 Numeric List: Dalnet */ |
| 203 | /* RPL_SUSERHOST 307 austnet */ |
| 204 | /* RPL_NOTIFYACTION 308 aircd */ |
| 205 | /* RPL_WHOISADMIN 308 Numeric List: Dalnet */ |
| 206 | /* RPL_RULESSTART 308 unreal */ |
| 207 | /* RPL_NICKTRACE 309 aircd */ |
| 208 | /* RPL_WHOISSADMIN 309 Numeric List: Dalnet */ |
| 209 | /* RPL_ENDOFRULES 309 unreal */ |
| 210 | /* RPL_WHOISHELPER 309 austnet */ |
| 211 | /* RPL_WHOISSVCMSG 310 Dalnet */ |
| 212 | /* RPL_WHOISHELPOP 310 unreal */ |
| 213 | /* RPL_WHOISSERVICE 310 austnet */ |
| 214 | #define RPL_WHOISUSERcxx . . $ `src/common/irc_protocol.h:214:9`! 311 /* See also RPL_ENDOFWHOIS */ |
| 215 | #define RPL_WHOISSERVERcxx . . $ `src/common/irc_protocol.h:215:9`! 312 |
| 216 | #define RPL_WHOISOPERATORcxx . . $ `src/common/irc_protocol.h:216:9`! 313 |
| 217 | #define RPL_WHOWASUSERcxx . . $ `src/common/irc_protocol.h:217:9`! 314 /* See also RPL_ENDOFWHOWAS */ |
| 218 | #define RPL_ENDOFWHOcxx . . $ `src/common/irc_protocol.h:218:9`! 315 /* See RPL_WHOREPLY/RPL_WHOSPCRPL */ |
| 219 | /* RPL_WHOISCHANOP 316 removed from RFC1459 */ |
| 220 | #define RPL_WHOISIDLEcxx . . $ `src/common/irc_protocol.h:220:9`! 317 |
| 221 | #define RPL_ENDOFWHOIScxx . . $ `src/common/irc_protocol.h:221:9`! 318 /* See RPL_WHOISUSER/RPL_WHOISSERVER/ |
| 222 | RPL_WHOISOPERATOR/RPL_WHOISIDLE */ |
| 223 | #define RPL_WHOISCHANNELScxx . . $ `src/common/irc_protocol.h:223:9`! 319 |
| 224 | /* RPL_WHOIS_HIDDEN 320 Anothernet +h, ick! */ |
| 225 | /* RPL_WHOISSPECIAL 320 unreal */ |
| 226 | #define RPL_LISTSTARTcxx . . $ `src/common/irc_protocol.h:226:9`! 321 |
| 227 | #define RPL_LISTcxx . . $ `src/common/irc_protocol.h:227:9`! 322 |
| 228 | #define RPL_LISTENDcxx . . $ `src/common/irc_protocol.h:228:9`! 323 |
| 229 | #define RPL_CHANNELMODEIScxx . . $ `src/common/irc_protocol.h:229:9`! 324 |
| 230 | /* RPL_CHANNELPASSIS 325 IRCnet extension */ |
| 231 | /* RPL_UNIQOPIS 325 IRCnet extension */ |
| 232 | /* RPL_NOCHANPASS 326 IRCnet extension */ |
| 233 | /* RPL_CHPASSUNKNOWN 327 IRCnet extension */ |
| 234 | /* RPL_CHANNEL_URL 328 dalnet, anothernet */ |
| 235 | #define RPL_CREATIONTIMEcxx . . $ `src/common/irc_protocol.h:235:9`! 329 |
| 236 | /* RPL_WHOWAS_TIME 330 ? */ |
| 237 | #define RPL_NOTOPICcxx . . $ `src/common/irc_protocol.h:237:9`! 331 |
| 238 | #define RPL_TOPICcxx . . $ `src/common/irc_protocol.h:238:9`! 332 |
| 239 | #define RPL_TOPICWHOTIMEcxx . . $ `src/common/irc_protocol.h:239:9`! 333 /* Undernet extension */ |
| 240 | #define RPL_LISTUSAGEcxx . . $ `src/common/irc_protocol.h:240:9`! 334 /* Undernet extension */ |
| 241 | /* RPL_COMMANDSYNTAX 334 Dalnet */ |
| 242 | /* RPL_LISTSYNTAX 334 unreal */ |
| 243 | /* RPL_CHANPASSOK 338 IRCnet extension (?)*/ |
| 244 | /* RPL_WHOISACTUALLY 338 dalnet */ |
| 245 | /* RPL_BADCHANPASS 339 IRCnet extension (?)*/ |
| 246 | |
| 247 | #define RPL_INVITINGcxx . . $ `src/common/irc_protocol.h:247:9`! 341 |
| 248 | /* RPL_SUMMONING 342 removed from RFC1459 */ |
| 249 | |
| 250 | #define RPL_INVITELISTcxx . . $ `src/common/irc_protocol.h:250:9`! 346 /* IRCnet, Undernet extension */ |
| 251 | #define RPL_ENDOFINVITELISTcxx . . $ `src/common/irc_protocol.h:251:9`! 347 /* IRCnet, Undernet extension */ |
| 252 | /* RPL_EXCEPTLIST 348 IRCnet extension */ |
| 253 | /* RPL_ENDOFEXCEPTLIST 349 IRCnet extension */ |
| 254 | |
| 255 | #define RPL_VERSIONcxx . . $ `src/common/irc_protocol.h:255:9`! 351 |
| 256 | #define RPL_WHOREPLYcxx . . $ `src/common/irc_protocol.h:256:9`! 352 /* See also RPL_ENDOFWHO */ |
| 257 | #define RPL_NAMREPLYcxx . . $ `src/common/irc_protocol.h:257:9`! 353 /* See also RPL_ENDOFNAMES */ |
| 258 | #define RPL_WHOSPCRPLcxx . . $ `src/common/irc_protocol.h:258:9`! 354 /* Undernet extension, |
| 259 | See also RPL_ENDOFWHO */ |
| 260 | |
| 261 | #define RPL_KILLDONEcxx . . $ `src/common/irc_protocol.h:261:9`! 361 /* not used */ |
| 262 | #define RPL_CLOSINGcxx . . $ `src/common/irc_protocol.h:262:9`! 362 |
| 263 | #define RPL_CLOSEENDcxx . . $ `src/common/irc_protocol.h:263:9`! 363 |
| 264 | #define RPL_LINKScxx . . $ `src/common/irc_protocol.h:264:9`! 364 |
| 265 | #define RPL_ENDOFLINKScxx . . $ `src/common/irc_protocol.h:265:9`! 365 |
| 266 | #define RPL_ENDOFNAMEScxx . . $ `src/common/irc_protocol.h:266:9`! 366 /* See RPL_NAMREPLY */ |
| 267 | #define RPL_BANLISTcxx . . $ `src/common/irc_protocol.h:267:9`! 367 |
| 268 | #define RPL_ENDOFBANLISTcxx . . $ `src/common/irc_protocol.h:268:9`! 368 |
| 269 | #define RPL_ENDOFWHOWAScxx . . $ `src/common/irc_protocol.h:269:9`! 369 |
| 270 | |
| 271 | #define RPL_INFOcxx . . $ `src/common/irc_protocol.h:271:9`! 371 |
| 272 | #define RPL_MOTDcxx . . $ `src/common/irc_protocol.h:272:9`! 372 |
| 273 | #define RPL_INFOSTARTcxx . . $ `src/common/irc_protocol.h:273:9`! 373 /* not used */ |
| 274 | #define RPL_ENDOFINFOcxx . . $ `src/common/irc_protocol.h:274:9`! 374 |
| 275 | #define RPL_MOTDSTARTcxx . . $ `src/common/irc_protocol.h:275:9`! 375 |
| 276 | #define RPL_ENDOFMOTDcxx . . $ `src/common/irc_protocol.h:276:9`! 376 |
| 277 | |
| 278 | /* RPL_KICKEXPIRED 377 aircd */ |
| 279 | /* RPL_SPAM 377 austnet */ |
| 280 | /* RPL_BANEXPIRED 378 aircd */ |
| 281 | /* RPL_KICKLINKED 379 aircd */ |
| 282 | /* RPL_BANLINKED 380 aircd */ |
| 283 | |
| 284 | #define RPL_YOUREOPERcxx . . $ `src/common/irc_protocol.h:284:9`! 381 |
| 285 | #define RPL_REHASHINGcxx . . $ `src/common/irc_protocol.h:285:9`! 382 |
| 286 | /* RPL_YOURSERVICE 383 Numeric List: various */ |
| 287 | #define RPL_MYPORTIScxx . . $ `src/common/irc_protocol.h:287:9`! 384 /* not used */ |
| 288 | #define RPL_NOTOPERANYMOREcxx . . $ `src/common/irc_protocol.h:288:9`! 385 /* Extension to RFC1459, not used */ |
| 289 | /* RPL_QLIST 386 unreal */ |
| 290 | /* RPL_ENDOFQLIST 387 unreal */ |
| 291 | /* RPL_ALIST 388 unreal */ |
| 292 | /* RPL_ENDOFALIST 389 unreal */ |
| 293 | |
| 294 | #define RPL_TIMEcxx . . $ `src/common/irc_protocol.h:294:9`! 391 |
| 295 | /* RPL_START_USERS 392 Dalnet/EFnet/IRCnet */ |
| 296 | /* RPL_USERS 393 Dalnet/EFnet/IRCnet */ |
| 297 | /* RPL_END_USERS 394 Dalnet/EFnet/IRCnet */ |
| 298 | /* RPL_NOUSERS 395 Dalnet/EFnet/IRCnet */ |
| 299 | |
| 300 | /* |
| 301 | * Numberic replies from server commands. |
| 302 | * These are currently in the range 600-699. |
| 303 | */ |
| 304 | /* RPL_LOGON 600 dalnet,unreal |
| 305 | RPL_LOGOFF 601 dalnet,unreal |
| 306 | RPL_WATCHOFF 602 dalnet,unreal |
| 307 | RPL_WATCHSTAT 603 dalnet,unreal |
| 308 | RPL_NOWON 604 dalnet,unreal |
| 309 | RPL_NOWOFF 605 dalnet,unreal |
| 310 | RPL_WATCHLIST 606 dalnet,unreal |
| 311 | RPL_ENDOFWATCHLIST 607 dalnet,unreal |
| 312 | |
| 313 | RPL_MAPMORE 610 unreal |
| 314 | |
| 315 | RPL_MAPMORE 615 PTlink |
| 316 | |
| 317 | RPL_DCCSTATUS 617 dalnet |
| 318 | RPL_DCCLIST 618 dalnet |
| 319 | RPL_ENDOFDCCLIST 619 dalnet |
| 320 | RPL_DCCINFO 620 dalnet |
| 321 | |
| 322 | RPL_DUMPING 640 unreal |
| 323 | RPL_DUMPRPL 641 unreal |
| 324 | RPL_EODUMP 642 unreal |
| 325 | */ |
| 326 | |
| 327 | /** |
| 328 | * Westwood Online Extensions |
| 329 | */ |
| 330 | #define RPL_GET_LOCALEcxx . . $ `src/common/irc_protocol.h:330:9`! 309 |
| 331 | #define RPL_SET_LOCALEcxx . . $ `src/common/irc_protocol.h:331:9`! 310 |
| 332 | |
| 333 | #define RPL_GAME_CHANNELcxx . . $ `src/common/irc_protocol.h:333:9`! 326 |
| 334 | #define RPL_CHANNELcxx . . $ `src/common/irc_protocol.h:334:9`! 327 |
| 335 | #define RPL_GET_CODEPAGEcxx . . $ `src/common/irc_protocol.h:335:9`! 328 |
| 336 | #define RPL_SET_CODEPAGEcxx . . $ `src/common/irc_protocol.h:336:9`! 329 |
| 337 | |
| 338 | #define RPL_GET_BUDDYcxx . . $ `src/common/irc_protocol.h:338:9`! 333 |
| 339 | #define RPL_ADD_BUDDYcxx . . $ `src/common/irc_protocol.h:339:9`! 334 |
| 340 | #define RPL_DEL_BUDDYcxx . . $ `src/common/irc_protocol.h:340:9`! 335 |
| 341 | |
| 342 | #define RPL_BATTLECLANcxx . . $ `src/common/irc_protocol.h:342:9`! 358 |
| 343 | |
| 344 | #define RPL_ANNOUNCEcxx . . $ `src/common/irc_protocol.h:344:9`! 377 /* only in WOLv2 */ |
| 345 | #define RPL_BAD_LOGINcxx . . $ `src/common/irc_protocol.h:345:9`! 378 |
| 346 | #define RPL_VERCHK_NONREQcxx . . $ `src/common/irc_protocol.h:346:9`! 379 /* for WOL */ |
| 347 | |
| 348 | #define RPL_FIND_USERcxx . . $ `src/common/irc_protocol.h:348:9`! 388 |
| 349 | #define RPL_PAGEcxx . . $ `src/common/irc_protocol.h:349:9`! 389 |
| 350 | |
| 351 | #define RPL_FIND_USER_EXcxx . . $ `src/common/irc_protocol.h:351:9`! 398 |
| 352 | #define RPL_GET_INSIDERcxx . . $ `src/common/irc_protocol.h:352:9`! 399 |
| 353 | |
| 354 | /* Westwood Online servserv replies are in range 600 - 615 */ |
| 355 | #define RPL_UPDATE_NONEXcxx . . $ `src/common/irc_protocol.h:355:9`! 602 /* for servserv */ |
| 356 | #define RPL_UPDATE_EXISTcxx . . $ `src/common/irc_protocol.h:356:9`! 603 /* for servserv */ |
| 357 | |
| 358 | #define RPL_WOLSERVcxx . . $ `src/common/irc_protocol.h:358:9`! 605 |
| 359 | #define RPL_UPDATE_FTPcxx . . $ `src/common/irc_protocol.h:359:9`! 606 /* for servserv FTP message */ |
| 360 | #define RPL_QUITcxx . . $ `src/common/irc_protocol.h:360:9`! 607 |
| 361 | #define RPL_GAMERESSERVcxx . . $ `src/common/irc_protocol.h:361:9`! 608 |
| 362 | #define RPL_LADDERSERVcxx . . $ `src/common/irc_protocol.h:362:9`! 609 |
| 363 | #define RPL_LOBCOUNTcxx . . $ `src/common/irc_protocol.h:363:9`! 610 |
| 364 | #define RPL_WDTSERVcxx . . $ `src/common/irc_protocol.h:364:9`! 611 |
| 365 | #define RPL_MANGLERSERVcxx . . $ `src/common/irc_protocol.h:365:9`! 612 |
| 366 | #define RPL_TICKETSERVcxx . . $ `src/common/irc_protocol.h:366:9`! 613 |
| 367 | |
| 368 | #define RPL_PINGSERVERcxx . . $ `src/common/irc_protocol.h:368:9`! 615 |
| 369 | |
| 370 | #define ERR_IDNOEXISTcxx . . $ `src/common/irc_protocol.h:370:9`! 439 |
| 371 | |
| 372 | //#define ERR_CHANNELISFULL 471 (used for games too) |
| 373 | //#define ERR_BANNEDFROMCHAN 474 (used for games too) |
| 374 | //#define ERR_BADCHANNELKEY 475 (used for game password) |
| 375 | |
| 376 | #define ERR_GAMEHASCLOSEDcxx . . $ `src/common/irc_protocol.h:376:9`! 478 |
| 377 | |
| 378 | /** error's */ |
| 379 | /* |
| 380 | * Errors are in the range from 400-599 currently and are grouped by what |
| 381 | * commands they come from. |
| 382 | */ |
| 383 | #define ERR_FIRSTERRORcxx . . $ `src/common/irc_protocol.h:383:9`! 400 /* unused */ |
| 384 | #define ERR_NOSUCHNICKcxx . . $ `src/common/irc_protocol.h:384:9`! 401 |
| 385 | #define ERR_NOSUCHSERVERcxx . . $ `src/common/irc_protocol.h:385:9`! 402 |
| 386 | #define ERR_NOSUCHCHANNELcxx . . $ `src/common/irc_protocol.h:386:9`! 403 |
| 387 | #define ERR_CANNOTSENDTOCHANcxx . . $ `src/common/irc_protocol.h:387:9`! 404 |
| 388 | #define ERR_TOOMANYCHANNELScxx . . $ `src/common/irc_protocol.h:388:9`! 405 |
| 389 | #define ERR_WASNOSUCHNICKcxx . . $ `src/common/irc_protocol.h:389:9`! 406 |
| 390 | #define ERR_TOOMANYTARGETScxx . . $ `src/common/irc_protocol.h:390:9`! 407 |
| 391 | /* ERR_NOSUCHSERVICE 408 IRCnet */ |
| 392 | /* ERR_NOCOLORSONCHAN 408 Dalnet */ |
| 393 | #define ERR_NOORIGINcxx . . $ `src/common/irc_protocol.h:393:9`! 409 |
| 394 | |
| 395 | #define ERR_NORECIPIENTcxx . . $ `src/common/irc_protocol.h:395:9`! 411 |
| 396 | #define ERR_NOTEXTTOSENDcxx . . $ `src/common/irc_protocol.h:396:9`! 412 |
| 397 | #define ERR_NOTOPLEVELcxx . . $ `src/common/irc_protocol.h:397:9`! 413 |
| 398 | #define ERR_WILDTOPLEVELcxx . . $ `src/common/irc_protocol.h:398:9`! 414 |
| 399 | /* ERR_BADMASK 415 IRCnet extension */ |
| 400 | #define ERR_QUERYTOOLONGcxx . . $ `src/common/irc_protocol.h:400:9`! 416 /* Undernet extension */ |
| 401 | /* ERR_TOOMANYMATCHES 416 IRCnet extension */ |
| 402 | /* ERR_LENGTHTRUNCATED 419 aircd */ |
| 403 | |
| 404 | #define ERR_UNKNOWNCOMMANDcxx . . $ `src/common/irc_protocol.h:404:9`! 421 |
| 405 | #define ERR_NOMOTDcxx . . $ `src/common/irc_protocol.h:405:9`! 422 |
| 406 | #define ERR_NOADMININFOcxx . . $ `src/common/irc_protocol.h:406:9`! 423 |
| 407 | /* ERR_FILEERROR 424 removed from RFC1459 */ |
| 408 | |
| 409 | /* ERR_TOOMANYAWAY 429 Dalnet */ |
| 410 | #define ERR_NONICKNAMEGIVENcxx . . $ `src/common/irc_protocol.h:410:9`! 431 |
| 411 | #define ERR_ERRONEUSNICKNAMEcxx . . $ `src/common/irc_protocol.h:411:9`! 432 |
| 412 | #define ERR_NICKNAMEINUSEcxx . . $ `src/common/irc_protocol.h:412:9`! 433 |
| 413 | /* ERR_SERVICENAMEINUSE 434 ? */ |
| 414 | /* ERR_NORULES 434 unreal */ |
| 415 | /* ERR_SERVICECONFUSED 435 ? */ |
| 416 | /* ERR_BANONCHAN 435 dalnet */ |
| 417 | #define ERR_NICKCOLLISIONcxx . . $ `src/common/irc_protocol.h:417:9`! 436 |
| 418 | #define ERR_BANNICKCHANGEcxx . . $ `src/common/irc_protocol.h:418:9`! 437 /* Undernet extension */ |
| 419 | /* ERR_UNAVAILRESOURCE 437 IRCnet extension */ |
| 420 | #define ERR_NICKTOOFASTcxx . . $ `src/common/irc_protocol.h:420:9`! 438 /* Undernet extension */ |
| 421 | /* ERR_DEAD 438 IRCnet reserved for later use */ |
| 422 | #define ERR_TARGETTOOFASTcxx . . $ `src/common/irc_protocol.h:422:9`! 439 /* Undernet extension */ |
| 423 | /* ERR_SERVICESDOWN 440 Dalnet,unreal */ |
| 424 | #define ERR_USERNOTINCHANNELcxx . . $ `src/common/irc_protocol.h:424:9`! 441 |
| 425 | #define ERR_NOTONCHANNELcxx . . $ `src/common/irc_protocol.h:425:9`! 442 |
| 426 | #define ERR_USERONCHANNELcxx . . $ `src/common/irc_protocol.h:426:9`! 443 |
| 427 | /* ERR_NOLOGIN 444 removed from RFC1459 */ |
| 428 | /* ERR_SUMMONDISABLED 445 removed from RFC1459 */ |
| 429 | /* ERR_USERSDISABLED 446 removed from RFC1459 */ |
| 430 | /* ERR_NONICKCHANGE 447 unreal */ |
| 431 | |
| 432 | #define ERR_NOTREGISTEREDcxx . . $ `src/common/irc_protocol.h:432:9`! 451 |
| 433 | /* ERR_IDCOLLISION 452 IRCnet extension ? */ |
| 434 | /* ERR_NICKLOST 453 IRCnet extension ? */ |
| 435 | |
| 436 | /* ERR_HOSTILENAME 455 unreal */ |
| 437 | |
| 438 | /* ERR_NOHIDING 459 unreal */ |
| 439 | /* ERR_NOTFORHALFOPS 460 unreal */ |
| 440 | |
| 441 | #define ERR_NEEDMOREPARAMScxx . . $ `src/common/irc_protocol.h:441:9`! 461 |
| 442 | #define ERR_ALREADYREGISTREDcxx . . $ `src/common/irc_protocol.h:442:9`! 462 |
| 443 | #define ERR_NOPERMFORHOSTcxx . . $ `src/common/irc_protocol.h:443:9`! 463 |
| 444 | #define ERR_PASSWDMISMATCHcxx . . $ `src/common/irc_protocol.h:444:9`! 464 |
| 445 | #define ERR_YOUREBANNEDCREEPcxx . . $ `src/common/irc_protocol.h:445:9`! 465 |
| 446 | #define ERR_YOUWILLBEBANNEDcxx . . $ `src/common/irc_protocol.h:446:9`! 466 |
| 447 | #define ERR_KEYSETcxx . . $ `src/common/irc_protocol.h:447:9`! 467 /* Undernet extension */ |
| 448 | #define ERR_INVALIDUSERNAMEcxx . . $ `src/common/irc_protocol.h:448:9`! 468 /* Undernet extension */ |
| 449 | /* ERR_ONLYSERVERSCANCHANGE 468 Dalnet,unreal */ |
| 450 | /* ERR_LINKSET 469 unreal */ |
| 451 | /* ERR_LINKCHANNEL 470 unreal */ |
| 452 | /* ERR_KICKEDFROMCHAN 470 aircd */ |
| 453 | #define ERR_CHANNELISFULLcxx . . $ `src/common/irc_protocol.h:453:9`! 471 |
| 454 | #define ERR_UNKNOWNMODEcxx . . $ `src/common/irc_protocol.h:454:9`! 472 |
| 455 | #define ERR_INVITEONLYCHANcxx . . $ `src/common/irc_protocol.h:455:9`! 473 |
| 456 | #define ERR_BANNEDFROMCHANcxx . . $ `src/common/irc_protocol.h:456:9`! 474 |
| 457 | #define ERR_BADCHANNELKEYcxx . . $ `src/common/irc_protocol.h:457:9`! 475 |
| 458 | #define ERR_BADCHANMASKcxx . . $ `src/common/irc_protocol.h:458:9`! 476 /* Undernet extension */ |
| 459 | /* ERR_NEEDREGGEDNICK 477 DalNet Extention */ |
| 460 | #define ERR_BANLISTFULLcxx . . $ `src/common/irc_protocol.h:460:9`! 478 /* Undernet extension */ |
| 461 | /* ERR_LINKFAIL 479 unreal */ |
| 462 | |
| 463 | #define ERR_BADCHANNAMEcxx . . $ `src/common/irc_protocol.h:463:9`! 479 /* EFNet extension */ |
| 464 | /* 479 Undernet extension badchan */ |
| 465 | /* ERR_CANNOTKNOCK 480 unreal */ |
| 466 | /* ERR_NOULINE 480 austnet */ |
| 467 | #define ERR_NOPRIVILEGEScxx . . $ `src/common/irc_protocol.h:467:9`! 481 |
| 468 | #define ERR_CHANOPRIVSNEEDEDcxx . . $ `src/common/irc_protocol.h:468:9`! 482 |
| 469 | #define ERR_CANTKILLSERVERcxx . . $ `src/common/irc_protocol.h:469:9`! 483 |
| 470 | #define ERR_ISCHANSERVICEcxx . . $ `src/common/irc_protocol.h:470:9`! 484 /* Undernet extension */ |
| 471 | /* ERR_DESYNC 484 Dalnet,PTlink */ |
| 472 | /* ERR_ATTACKDENY 484 unreal */ |
| 473 | #define ERR_RESTRICTEDcxx . . $ `src/common/irc_protocol.h:473:9`! 484 /* IRCnet extension */ |
| 474 | /* ERR_UNIQOPRIVSNEEDED 485 IRCnet extension */ |
| 475 | /* ERR_KILLDENY 485 unreal */ |
| 476 | /* ERR_CANTKICKADMIN 485 PTlink */ |
| 477 | /* ERR_HTMDISABLED 486 unreal */ |
| 478 | /* ERR_CHANTOORECENT 487 IRCnet extension (?) */ |
| 479 | /* ERR_TSLESSCHAN 488 IRCnet extension (?) */ |
| 480 | #define ERR_VOICENEEDEDcxx . . $ `src/common/irc_protocol.h:480:9`! 489 /* Undernet extension */ |
| 481 | |
| 482 | #define ERR_NOOPERHOSTcxx . . $ `src/common/irc_protocol.h:482:9`! 491 |
| 483 | /* ERR_NOSERVICEHOST 492 IRCnet extension */ |
| 484 | |
| 485 | #define ERR_NOFEATUREcxx . . $ `src/common/irc_protocol.h:485:9`! 493 /* Undernet extension - features */ |
| 486 | #define ERR_BADFEATVALUEcxx . . $ `src/common/irc_protocol.h:486:9`! 494 /* Undernet extension - features */ |
| 487 | #define ERR_BADLOGTYPEcxx . . $ `src/common/irc_protocol.h:487:9`! 495 /* Undernet extension - features */ |
| 488 | #define ERR_BADLOGSYScxx . . $ `src/common/irc_protocol.h:488:9`! 496 /* Undernet extension - features */ |
| 489 | #define ERR_BADLOGVALUEcxx . . $ `src/common/irc_protocol.h:489:9`! 497 /* Undernet extension - features */ |
| 490 | |
| 491 | #define ERR_ISOPERLCHANcxx . . $ `src/common/irc_protocol.h:491:9`! 498 /* Undernet extension */ |
| 492 | |
| 493 | #define ERR_UMODEUNKNOWNFLAGcxx . . $ `src/common/irc_protocol.h:493:9`! 501 |
| 494 | #define ERR_USERSDONTMATCHcxx . . $ `src/common/irc_protocol.h:494:9`! 502 |
| 495 | /* ERR_GHOSTEDCLIENT 503 efnet */ |
| 496 | /* ERR_VWORLDWARN 503 austnet */ |
| 497 | |
| 498 | #define ERR_SILELISTFULLcxx . . $ `src/common/irc_protocol.h:498:9`! 511 /* Undernet extension */ |
| 499 | /* ERR_NOTIFYFULL 512 aircd */ |
| 500 | /* ERR_TOOMANYWATCH 512 Numeric List: Dalnet */ |
| 501 | #define ERR_NOSUCHGLINEcxx . . $ `src/common/irc_protocol.h:501:9`! 512 /* Undernet extension */ |
| 502 | #define ERR_BADPINGcxx . . $ `src/common/irc_protocol.h:502:9`! 513 /* Undernet extension */ |
| 503 | /* ERR_NEEDPONG 512 Numeric List: Dalnet */ |
| 504 | #define ERR_NOSUCHJUPEcxx . . $ `src/common/irc_protocol.h:504:9`! 514 /* Undernet extension - jupe -Kev */ |
| 505 | /* ERR_TOOMANYDCC 514 dalnet */ |
| 506 | #define ERR_BADEXPIREcxx . . $ `src/common/irc_protocol.h:506:9`! 515 /* Undernet extension - jupe -Kev */ |
| 507 | #define ERR_DONTCHEATcxx . . $ `src/common/irc_protocol.h:507:9`! 516 /* Undernet extension */ |
| 508 | #define ERR_DISABLEDcxx . . $ `src/common/irc_protocol.h:508:9`! 517 /* Undernet extension -Kev */ |
| 509 | /* ERR_NOINVITE 518 unreal */ |
| 510 | #define ERR_LONGMASKcxx . . $ `src/common/irc_protocol.h:510:9`! 518 /* Undernet extension -Kev */ |
| 511 | /* ERR_ADMONLY 519 unreal */ |
| 512 | #define ERR_TOOMANYUSERScxx . . $ `src/common/irc_protocol.h:512:9`! 519 /* Undernet extension -Kev */ |
| 513 | /* ERR_OPERONLY 520 unreal */ |
| 514 | #define ERR_MASKTOOWIDEcxx . . $ `src/common/irc_protocol.h:514:9`! 520 /* Undernet extension -Kev */ |
| 515 | /* ERR_WHOTRUNC 520 austnet */ |
| 516 | #define ERR_LASTERRORcxx . . $ `src/common/irc_protocol.h:516:9`! 521 |
| 517 | /* ERR_LISTSYNTAX 521 dalnet |
| 518 | ERR_WHOSYNTAX 522 dalnet |
| 519 | ERR_WHOLIMEXCEED 523 dalnet */ |
| 520 | |
| 521 | #endif |
| 522 | #endif |