From 20a534a8627d80ae2135b55f9a04382c2e187c1d Mon Sep 17 00:00:00 2001 From: Mark <> Date: Mon, 16 Feb 2004 00:20:59 +0000 Subject: [PATCH] extended numerics plus improved events.h comments --- events.h | 328 ++++++++++++++------------ numeric.h | 684 +++++++++++++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 837 insertions(+), 175 deletions(-) diff --git a/events.h b/events.h index f04fb416..e2f1d634 100644 --- a/events.h +++ b/events.h @@ -23,207 +23,247 @@ ** $Id$ */ -/* List of events available to be sent to modules - * Once all modules are ported to use these defines, - * events should be tokenised to improve performance +/* Events sent to modules. Each event has 2 parameters: + * av is a list of parameters. + * ac is the number of parameters */ -/* ONLINE is called when NeoStats connects to the Network. - * Can be used to init bots, and so on. - * ONLINE parameters are: - * server connected to +/* EVENT_ONLINE + * Called when NeoStats connects to the Network. + * Can be used to init bots, and so on. + * parameters: + * av[0] server connected to */ -#define EVENT_ONLINE "ONLINE" +#define EVENT_ONLINE "ONLINE" -/* SIGNON is called when a new user signs onto the network. the user - * nickname is passed as a parameter, so you can see who signed on. - * SIGNON parameters are: - * nick +/* EVENT_SIGNON + * Called when a new user signs onto the network. the user + * nickname is passed as a parameter, so you can see who signed on. + * parameters: + * av[0] nick */ -#define EVENT_SIGNON "SIGNON" +#define EVENT_SIGNON "SIGNON" -/* SIGNOFF is called when a user quits the network. The user - * nickname is passed as a parameter, so you can see who signed off. - * SIGNOFF parameters are: - * nick - * reason +/* EVENT_SIGNOFF + * Called when a user quits the network. The user + * nickname is passed as a parameter, so you can see who signed off. + * parameters: + * av[0] nick + * av[1] reason */ -#define EVENT_SIGNOFF "SIGNOFF" +#define EVENT_SIGNOFF "SIGNOFF" -/* KILL is called when a user is killed on the network. the user - * nick is passed as a parameter, so you can see who - * was killed (You would have to use the recbuf global - * variable to see who killed them though) - * KILL parameters are: - * nick +/* EVENT_KILL + * Called when a user is killed on the network. the user + * nick is passed as a parameter, so you can see who + * was killed (You would have to use the recbuf global + * variable to see who killed them though) + * parameters: + * av[0] nick */ -#define EVENT_KILL "KILL" +#define EVENT_KILL "KILL" -/* BOTKILL is called if one of the NeoStats bots gets killed. You would - * use it to reinitialize the bot. - * BOTKILL parameters are: - * botnick +/* EVENT_BOTKILL + * is called if one of the NeoStats bots gets killed. You would + * use it to reinitialize the bot. + * parameters: + * av[0] botnick */ -#define EVENT_BOTKILL "BOTKILL" +#define EVENT_BOTKILL "BOTKILL" -/* SERVER is called when a server connects to the network. the server - * structure Server is passed as a parameter so you can see - * details about the new server - * SERVER parameters are: - * server name - * uplink - * hops - * numeric - * infoline +/* EVENT_SERVER + * Called when a server connects to the network. + * parameters: + * av[0] server name + * av[1] uplink + * av[2] hops + * av[3] numeric + * av[4] infoline */ -#define EVENT_SERVER "SERVER" +#define EVENT_SERVER "SERVER" -/* SQUIT is called when a server squits the network - * SQUIT parameters are: - * server name - * reason +/* EVENT_SQUIT + * Called when a server squits the network + * parameters: + * av[0] server name + * av[1] reason */ -#define EVENT_SQUIT "SQUIT" +#define EVENT_SQUIT "SQUIT" -/* NETINFO is called when the connection to the network is synced. - * NETINFO parameters are: - * none +/* EVENT_NETINFO + * Called when the connection to the network is synced. + * parameters: + * av[0] none */ -#define EVENT_NETINFO "NETINFO" +#define EVENT_NETINFO "NETINFO" -/* UMODE is called when a user changes Umodes. (e.g., /mode +o fish) - * the user structure User is passed as a parameter. - * UMODE parameters are: - * nick - * mode string +/* EVENT_UMODE + * Called when a user changes Umodes. (e.g., /mode +o fish) + * parameters: + * av[0] nick + * av[1] mode string */ -#define EVENT_UMODE "UMODE" +#define EVENT_UMODE "UMODE" -/* SMODE is called when a user changes Smodes. - * the user structure User is passed as a parameter. - * SMODE parameters are: - * nick - * mode string +/* EVENT_SMODE + * Called when a user changes Smodes. + * parameters: + * av[0] nick + * av[1] mode string */ -#define EVENT_SMODE "SMODE" +#define EVENT_SMODE "SMODE" -/* NICKCHANGE is called when a user changes nick - * the user structure User is passed as a parameter. - * NICKCHANGE parameters are: - * old nick - * new nick +/* EVENT_NICKCHANGE + * Called when a user changes nick + * parameters: + * av[0] old nick + * av[1] new nick */ -#define EVENT_NICKCHANGE "NICKCHANGE" +#define EVENT_NICKCHANGE "NICKCHANGE" -/* PONG parameters are: - * server name +/* EVENT_PONG + * parameters: + * av[0] server name */ -#define EVENT_PONG "PONG" +#define EVENT_PONG "PONG" -/* AWAY parameters are: - * nick - * away message if setting away, NULL if cancel away +/* EVENT_AWAY + * parameters: + * av[0] nick + * av[1] away message if setting away, NULL if cancel away */ -#define EVENT_AWAY "AWAY" +#define EVENT_AWAY "AWAY" -/* NEWCHAN parameters are: - * channel name +/* EVENT_NEWCHAN + * parameters: + * av[0] channel name */ -#define EVENT_NEWCHAN "NEWCHAN" +#define EVENT_NEWCHAN "NEWCHAN" -/* DELCHAN parameters are: - * channel name +/* EVENT_DELCHAN + * parameters: + * av[0] channel name */ -#define EVENT_DELCHAN "DELCHAN" +#define EVENT_DELCHAN "DELCHAN" -/* JOINCHAN parameters are: - * channel name - * user nick +/* EVENT_JOINCHAN + * parameters: + * av[0] channel name + * av[1] user nick */ -#define EVENT_JOINCHAN "JOINCHAN" +#define EVENT_JOINCHAN "JOINCHAN" -/* PARTCHAN parameters are: - * channel name - * user nick - * reason +/* EVENT_PARTCHAN + * parameters: + * av[0] channel name + * av[1] user nick + * av[2] reason */ -#define EVENT_PARTCHAN "PARTCHAN" +#define EVENT_PARTCHAN "PARTCHAN" -/* KICK parameters are: - * channel name - * nick of user who made the kick - * nick of user who was kick - * reason +/* EVENT_KICK + * parameters: + * av[0] channel name + * av[1] nick of user who made the kick + * av[2] nick of user who was kick + * av[3] reason */ -#define EVENT_KICK "KICK" +#define EVENT_KICK "KICK" -/* KICKBOT parameters are: - * channel name - * nick of user who made the kick - * nick of user who was kick - * reason +/* EVENT_KICKBOT + * parameters: + * av[0] channel name + * av[1] nick of user who made the kick + * av[2] nick of user who was kick + * av[3] reason */ -#define EVENT_KICKBOT "KICKBOT" +#define EVENT_KICKBOT "KICKBOT" -/* PARTBOT parameters are: - * channel name - * user nick - * reason +/* EVENT_PARTBOT + * parameters: + * av[0] channel name + * av[1] user nick + * av[2] reason */ -#define EVENT_PARTBOT "PARTBOT" +#define EVENT_PARTBOT "PARTBOT" -/* TOPICCHANGE parameters are: - * channel name - * owner - * topic +/* EVENT_TOPICCHANGE + * parameters: + * av[0] channel name + * av[1] owner + * av[2] topic */ -#define EVENT_TOPICCHANGE "TOPICCHANGE" +#define EVENT_TOPICCHANGE "TOPICCHANGE" -/* CLIENTVERSION parameters are: - * user nick - * client version string +/* EVENT_CLIENTVERSION + * parameters: + * av[0] user nick + * av[1] client version string */ -#define EVENT_CLIENTVERSION "CLIENTVERSION" +#define EVENT_CLIENTVERSION "CLIENTVERSION" -/* CHANMODE params are: - * channel name - * mode string +/* EVENT_CHANMODE + * parameters: + * av[0] channel name + * av[1] mode string */ -#define EVENT_CHANMODE "CHANMODE" +#define EVENT_CHANMODE "CHANMODE" -/* PRIVATE params are: - * from nick - * to nick - * message +/* EVENT_PRIVATE + * parameters: + * av[0] from nick + * av[1] to nick + * av[2] message */ -#define EVENT_PRIVATE "PRIVATE" +#define EVENT_PRIVATE "PRIVATE" -/* NOTICE params are: - * from nick - * to nick - * message +/* EVENT_NOTICE + * parameters: + * av[0] from nick + * av[1] to nick + * av[2] message */ -#define EVENT_NOTICE "NOTICE" +#define EVENT_NOTICE "NOTICE" -/* CPRIVATE params are: - * from nick - * to channel - * message +/* EVENT_CPRIVATE + * parameters: + * av[0] from nick + * av[1] to channel + * av[2] message */ -#define EVENT_CPRIVATE "CPRIVATE" +#define EVENT_CPRIVATE "CPRIVATE" -/* CNOTICE params are: - * from nick - * to channel - * message +/* EVENT_CNOTICE + * parameters: + * av[0] from nick + * av[1] to channel + * av[2] message */ -#define EVENT_CNOTICE "CNOTICE" +#define EVENT_CNOTICE "CNOTICE" -/* ADDBAN params are: +/* EVENT_ADDBAN + * parameters: + * av[0] type + * av[1] user + * av[2] host + * av[3] mask + * av[4] reason + * av[5] setby + * av[6] tsset + * av[7] tsexpires */ -#define EVENT_ADDBAN "ADDBAN" +#define EVENT_ADDBAN "ADDBAN" -/* DELBAN params are: +/* EVENT_DELBAN + * parameters: + * av[0] type + * av[1] user + * av[2] host + * av[3] mask + * av[4] reason + * av[5] setby + * av[6] tsset + * av[7] tsexpires */ -#define EVENT_DELBAN "DELBAN" +#define EVENT_DELBAN "DELBAN" diff --git a/numeric.h b/numeric.h index 139f8d0e..3aeba5ed 100755 --- a/numeric.h +++ b/numeric.h @@ -1,5 +1,5 @@ /* NeoStats - IRC Statistical Services -** Copyright (c) 1999-2004 Adam Rutter, Justin Hammond +** Copyright (c) 1999-2004 Adam Rutter, Justin Hammond, Mark Hetherington ** http://www.neostats.net/ ** ** Portions Copyright (c) 2000-2001 ^Enigma^ @@ -26,34 +26,656 @@ #ifndef _NUMERIC_H_ #define _NUMERIC_H_ -/* Numeric used by NeoStats. Need to be in ircd code eventually - * - */ - -#define RPL_STATSLINKINFO 211 -#define RPL_STATSCOMMANDS 212 -#define RPL_STATSCLINE 213 -#define RPL_STATSOLDNLINE 214 -#define RPL_STATSNLINE RPL_STATSOLDNLINE - -#define RPL_ENDOFSTATS 219 - -#define RPL_STATSLLINE 241 -#define RPL_STATSUPTIME 242 -#define RPL_STATSOLINE 243 - -#define RPL_ADMINME 256 -#define RPL_ADMINLOC1 257 -#define RPL_ADMINLOC2 258 - -#define RPL_VERSION 351 - -#define RPL_MOTD 372 - -#define RPL_MOTDSTART 375 -#define RPL_ENDOFMOTD 376 - -#define ERR_NOMOTD 422 -#define ERR_NOADMININFO 423 - +/* Numerics in the range from 001 to 099 are used for client-server +connections only and should never travel between servers. Replies +generated in the response to commands are found in the range from 200 +to 399.*/ + +#define RPL_WELCOME 001 +/*"Welcome to the Internet Relay Network !@"*/ +#define RPL_YOURHOST 002 +/*"Your host is , running version "*/ +#define RPL_CREATED 003 +/*"This server was created "*/ +#define RPL_MYINFO 004 +/*" "*/ +/*- The server sends Replies 001 to 004 to a user upon successful registration.*/ +#define RPL_BOUNCE 005 +/*"Try server , port "*/ +/*- Sent by the server to a user to suggest an alternative +server. This is often used when the connection is +refused because the server is already full.*/ +#define RPL_NONE 300 /* define in RFC1459 reserved in RFC2812*/ +/*Dummy reply number. Not used.*/ +#define RPL_USERHOST 302 /* RFC1459. RFC2812 */ +/*":*1 *( " " )"*/ +/*- Reply format used by USERHOST to list replies to +the query list. The reply string is composed as +follows: + +reply = nickname [ "*" ] "=" ( "+" / "-" ) hostname + +The '*' indicates whether the client has registered +as an Operator. The '-' or '+' characters represent +whether the client has set an AWAY message or not +respectively.*/ +#define RPL_ISON 303 /* RFC1459. RFC2812 */ +/*":*1 *( " " )"*/ +/*- Reply format used by ISON to list replies to the +query list.*/ +#define RPL_AWAY 301 /* RFC1459. RFC2812 */ +/*" :"*/ +#define RPL_UNAWAY 305 /* RFC1459. RFC2812 */ +/*":You are no longer marked as being away"*/ +#define RPL_NOWAWAY 306 /* RFC1459. RFC2812 */ +/*":You have been marked as being away"*/ +/*- These replies are used with the AWAY command (if +allowed). RPL_AWAY is sent to any client sending a +PRIVMSG to a client which is away. RPL_AWAY is only +sent by the server to which the client is connected. +Replies RPL_UNAWAY and RPL_NOWAWAY are sent when the +client removes and sets an AWAY message.*/ +#define RPL_WHOISUSER 311 /* RFC1459. RFC2812 */ +/*" * :"*/ +#define RPL_WHOISSERVER 312 /* RFC1459. RFC2812 */ +/*" :"*/ +#define RPL_WHOISOPERATOR 313 /* RFC1459. RFC2812 */ +/*" :is an IRC operator"*/ +#define RPL_WHOISIDLE 317 /* RFC1459. RFC2812 */ +/*" :seconds idle"*/ +#define RPL_ENDOFWHOIS 318 /* RFC1459. RFC2812 */ +/*" :End of WHOIS list"*/ +#define RPL_WHOISCHANNELS 319 /* RFC1459. RFC2812 */ +/*" :*( ( "@" / "+" ) " " )"*/ +/*- Replies 311 - 313, 317 - 319 are all replies +generated in response to a WHOIS message. Given that +there are enough parameters present, the answering +server MUST either formulate a reply out of the above +numerics (if the query nick is found) or return an +error reply. The '*' in RPL_WHOISUSER is there as +the literal character and not as a wild card. For +each reply set, only RPL_WHOISCHANNELS may appear +more than once (for long lists of channel names). +The '@' and '+' characters next to the channel name +indicate whether a client is a channel operator or +has been granted permission to speak on a moderated +channel. The RPL_ENDOFWHOIS reply is used to mark +the end of processing a WHOIS message.*/ +#define RPL_WHOWASUSER 314 /* RFC1459. RFC2812 */ +/*" * :"*/ +#define RPL_ENDOFWHOWAS 369 /* RFC1459. RFC2812 */ +/*" :End of WHOWAS"*/ +/*- When replying to a WHOWAS message, a server MUST use +the replies RPL_WHOWASUSER, RPL_WHOISSERVER or +ERR_WASNOSUCHNICK for each nickname in the presented +list. At the end of all reply batches, there MUST +be RPL_ENDOFWHOWAS (even if there was only one reply +and it was an error).*/ +#define RPL_LISTSTART 321 /* RFC1459. RFC2812 */ +/*Obsolete. Not used.*/ +#define RPL_LIST 322 /* RFC1459. RFC2812 */ +/*" <# visible> :"*/ +#define RPL_LISTEND 323 /* RFC1459. RFC2812 */ +/*":End of LIST"*/ +/*- Replies RPL_LIST, RPL_LISTEND mark the actual replies +with data and end of the server's response to a LIST +command. If there are no channels available to return, +only the end reply MUST be sent.*/ +#define RPL_UNIQOPIS 325 +/*" "*/ +#define RPL_CHANNELMODEIS 324 /* RFC1459. RFC2812 */ +/*" "*/ +#define RPL_NOTOPIC 331 /* RFC1459. RFC2812 */ +/*" :No topic is set"*/ +#define RPL_TOPIC 332 /* RFC1459. RFC2812 */ +/*" :"*/ +/*- When sending a TOPIC message to determine the +channel topic, one of two replies is sent. If +the topic is set, RPL_TOPIC is sent back else +RPL_NOTOPIC.*/ +#define RPL_INVITING 341 /* RFC1459. RFC2812 */ +/*" "*/ +/*- Returned by the server to indicate that the +attempted INVITE message was successful and is +being passed onto the end client.*/ +#define RPL_SUMMONING 342 /* RFC1459. RFC2812 */ +/*" :Summoning user to IRC"*/ +/*- Returned by a server answering a SUMMON message to +indicate that it is summoning that user.*/ +#define RPL_INVITELIST 346 +/*" "*/ +#define RPL_ENDOFINVITELIST 347 +/*" :End of channel invite list"*/ +/*- When listing the 'invitations masks' for a given channel, +a server is required to send the list back using the +RPL_INVITELIST and RPL_ENDOFINVITELIST messages. A +separate RPL_INVITELIST is sent for each active mask. +After the masks have been listed (or if none present) a +RPL_ENDOFINVITELIST MUST be sent.*/ +#define RPL_EXCEPTLIST 348 +/*" "*/ +#define RPL_ENDOFEXCEPTLIST 349 +/*" :End of channel exception list"*/ +/*- When listing the 'exception masks' for a given channel, +a server is required to send the list back using the +RPL_EXCEPTLIST and RPL_ENDOFEXCEPTLIST messages. A +separate RPL_EXCEPTLIST is sent for each active mask. +After the masks have been listed (or if none present) +a RPL_ENDOFEXCEPTLIST MUST be sent.*/ +#define RPL_VERSION 351 /* RFC1459. RFC2812 */ +/*". :"*/ +/*- Reply by the server showing its version details. +The is the version of the software being +used (including any patchlevel revisions) and the + is used to indicate if the server is +running in "debug mode". + +The "comments" field may contain any comments about +the version or further version details.*/ +#define RPL_WHOREPLY 352 /* RFC1459. RFC2812 */ +/*" +( "H" / "G" > ["*"] [ ( "@" / "+" ) ] +: "*/ +#define RPL_ENDOFWHO 315 /* RFC1459. RFC2812 */ +/*" :End of WHO list"*/ +/*- The RPL_WHOREPLY and RPL_ENDOFWHO pair are used +to answer a WHO message. The RPL_WHOREPLY is only +sent if there is an appropriate match to the WHO +query. If there is a list of parameters supplied +with a WHO message, a RPL_ENDOFWHO MUST be sent +after processing each list item with being +the item.*/ +#define RPL_NAMREPLY 353 /* RFC1459. RFC2812 */ +/*"( "=" / "*" / "@" ) +:[ "@" / "+" ] *( " " [ "@" / "+" ] ) +- "@" is used for secret channels, "*" for private +channels, and "=" for others (public channels).*/ +#define RPL_ENDOFNAMES 366 /* RFC1459. RFC2812 */ +/*" :End of NAMES list"*/ +/*- To reply to a NAMES message, a reply pair consisting +of RPL_NAMREPLY and RPL_ENDOFNAMES is sent by the +server back to the client. If there is no channel +found as in the query, then only RPL_ENDOFNAMES is + +returned. The exception to this is when a NAMES +message is sent with no parameters and all visible +channels and contents are sent back in a series of +RPL_NAMEREPLY messages with a RPL_ENDOFNAMES to mark +the end.*/ +#define RPL_LINKS 364 /* RFC1459. RFC2812 */ +/*" : "*/ +#define RPL_ENDOFLINKS 365 /* RFC1459. RFC2812 */ +/*" :End of LINKS list"*/ +/*- In replying to the LINKS message, a server MUST send +replies back using the RPL_LINKS numeric and mark the +end of the list using an RPL_ENDOFLINKS reply.*/ +#define RPL_BANLIST 367 /* RFC1459. RFC2812 */ +/*" "*/ +#define RPL_ENDOFBANLIST 368 /* RFC1459. RFC2812 */ +/*" :End of channel ban list"*/ +/*- When listing the active 'bans' for a given channel, +a server is required to send the list back using the +RPL_BANLIST and RPL_ENDOFBANLIST messages. A separate +RPL_BANLIST is sent for each active banmask. After the +banmasks have been listed (or if none present) a +RPL_ENDOFBANLIST MUST be sent.*/ +#define RPL_INFO 371 /* RFC1459. RFC2812 */ +/*":"*/ +#define RPL_ENDOFINFO 374 /* RFC1459. RFC2812 */ +/*":End of INFO list"*/ +/*- A server responding to an INFO message is required to +send all its 'info' in a series of RPL_INFO messages +with a RPL_ENDOFINFO reply to indicate the end of the +replies.*/ +#define RPL_MOTDSTART 375 /* RFC1459. RFC2812 */ +/*":- Message of the day - "*/ +#define RPL_MOTD 372 /* RFC1459. RFC2812 */ +/*":- "*/ +#define RPL_ENDOFMOTD 376 /* RFC1459. RFC2812 */ +/*":End of MOTD command"*/ +/*- When responding to the MOTD message and the MOTD file +is found, the file is displayed line by line, with +each line no longer than 80 characters, using + +RPL_MOTD format replies. These MUST be surrounded +by a RPL_MOTDSTART (before the RPL_MOTDs) and an +RPL_ENDOFMOTD (after).*/ +#define RPL_YOUREOPER 381 /* RFC1459. RFC2812 */ +/*":You are now an IRC operator"*/ +/*- RPL_YOUREOPER is sent back to a client which has +just successfully issued an OPER message and gained +operator status.*/ +#define RPL_REHASHING 382 /* RFC1459. RFC2812 */ +/*" :Rehashing"*/ +/*- If the REHASH option is used and an operator sends +a REHASH message, an RPL_REHASHING is sent back to +the operator.*/ +#define RPL_YOURESERVICE 383 +/*"You are service "*/ +/*- Sent by the server to a service upon successful +registration.*/ +#define RPL_TIME 391 /* RFC1459. RFC2812 */ +/*" :"*/ +/*- When replying to the TIME message, a server MUST send +the reply using the RPL_TIME format above. The string +showing the time need only contain the correct day and +time there. There is no further requirement for the +time string.*/ +#define RPL_USERSSTART 392 /* RFC1459. RFC2812 */ +/*":UserID Terminal Host"*/ +#define RPL_USERS 393 /* RFC1459. RFC2812 */ +/*": "*/ +#define RPL_ENDOFUSERS 394 /* RFC1459. RFC2812 */ +/*":End of users"*/ +#define RPL_NOUSERS 395 /* RFC1459. RFC2812 */ +/*":Nobody logged in"*/ +/*- If the USERS message is handled by a server, the +replies RPL_USERSTART, RPL_USERS, RPL_ENDOFUSERS and +RPL_NOUSERS are used. RPL_USERSSTART MUST be sent +first, following by either a sequence of RPL_USERS +or a single RPL_NOUSER. Following this is +RPL_ENDOFUSERS.*/ +#define RPL_TRACELINK 200 /* RFC1459. RFC2812 */ +/*"Link + V + +" +*/ +#define RPL_TRACECONNECTING 201 /* RFC1459. RFC2812 */ +/*"Try. "*/ +#define RPL_TRACEHANDSHAKE 202 /* RFC1459. RFC2812 */ +/*"H.S. "*/ +#define RPL_TRACEUNKNOWN 203 /* RFC1459. RFC2812 */ +/*"???? []"*/ +#define RPL_TRACEOPERATOR 204 /* RFC1459. RFC2812 */ +/*"Oper "*/ +#define RPL_TRACEUSER 205 /* RFC1459. RFC2812 */ +/*"User "*/ +#define RPL_TRACESERVER 206 /* RFC1459. RFC2812 */ +/*"Serv S C +@ V"*/ +#define RPL_TRACESERVICE 207 +/*"Service "*/ +#define RPL_TRACENEWTYPE 208 /* RFC1459. RFC2812 */ +/*" 0 "*/ +#define RPL_TRACECLASS 209 /*defined in RFC2812, reserved in RFC1459*/ +/*"Class "*/ +#define RPL_TRACERECONNECT 210 +/*Unused.*/ +#define RPL_TRACELOG 261 /* RFC1459. RFC2812 */ +/*"File "*/ +#define RPL_TRACEEND 262 +/*" :End of TRACE"*/ +/*- The RPL_TRACE* are all returned by the server in +response to the TRACE message. How many are +returned is dependent on the TRACE message and +whether it was sent by an operator or not. There +is no predefined order for which occurs first. +Replies RPL_TRACEUNKNOWN, RPL_TRACECONNECTING and +RPL_TRACEHANDSHAKE are all used for connections +which have not been fully established and are either +unknown, still attempting to connect or in the +process of completing the 'server handshake'. +RPL_TRACELINK is sent by any server which handles +a TRACE message and has to pass it on to another +server. The list of RPL_TRACELINKs sent in +response to a TRACE command traversing the IRC +network should reflect the actual connectivity of +the servers themselves along that path. + +RPL_TRACENEWTYPE is to be used for any connection +which does not fit in the other categories but is +being displayed anyway. +RPL_TRACEEND is sent to indicate the end of the list.*/ +#define RPL_STATSLINKINFO 211 /* RFC1459. RFC2812 */ +/*" + +