From 5f20c8d6f2c4b37c028d075a5fc048c92991ea64 Mon Sep 17 00:00:00 2001 From: Tom Feist Date: Tue, 13 Jul 2010 21:12:31 +0100 Subject: reformatting of signals into more useful format for parsing, work on teh signal generator --- docs/Signals.pm | 596 ++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 517 insertions(+), 79 deletions(-) (limited to 'docs/Signals.pm') diff --git a/docs/Signals.pm b/docs/Signals.pm index 1fadc32..c8f74de 100644 --- a/docs/Signals.pm +++ b/docs/Signals.pm @@ -15,19 +15,19 @@ See L =begin irssi_signal_types -=head SIGNAL ARGUMENT TYPES +START OF SIGNAL TYPES =over -=item C C +=item C C -=item C C +=item C C -=item C C +=item C C -=item C C +=item C C -=item C C +=item C C =item C C @@ -92,6 +92,7 @@ See L =back +END OF SIGNAL TYPES =end irssi_signal_types @@ -110,17 +111,35 @@ Arguments are passed to signal handlers in the usual way, via C<@_>. =item C<"gui exit"> -I +=over + +=item I + +=back =item C<"gui dialog"> -string C<$type>, string C<$text> +=over + +=item string C<$type> + +=item string C<$text> + +=back =item C<"send command"> -C, -L C<$server>, -L C<$window_item> +=over + +=item C, + +=item L C<$server>, + +=item L C<$window_item> + +=back + +This is sent when a command is entered via the GUI, or by scripts via L. =back @@ -130,11 +149,29 @@ B =over 4 -=item C<"chat protocol created"> CHAT_PROTOCOL_REC +=item C<"chat protocol created"> -=item C<"chat protocol updated"> CHAT_PROTOCOL_REC +=over -=item C<"chat protocol destroyed"> CHAT_PROTOCOL_REC +=item CHAT_PROTOCOL_REC C<$protocol> + +=back + +=item C<"chat protocol updated"> + +=over + +=item CHAT_PROTOCOL_REC C<$protocol> + +=back + +=item C<"chat protocol destroyed"> + +=over + +=item CHAT_PROTOCOL_REC C<$protocol> + +=back =back @@ -142,9 +179,23 @@ B =over 4 -=item C<"channel created"> L, int C<$automatic> +=item C<"channel created"> + +=over -=item C<"channel destroyed"> L C<$channel> +=item L C<$channel> + +=item int C<$automatic> + +=back + +=item C<"channel destroyed"> + +=over + +=item L C<$channel> + +=back =back @@ -152,9 +203,21 @@ B =over 4 -=item C<"chatnet created"> CHATNET_REC +=item C<"chatnet created"> + +=over -=item C<"chatnet destroyed"> CHATNET_REC +=item CHATNET_REC C<$chatnet> + +=back + +=item C<"chatnet destroyed"> + +=over + +=item CHATNET_REC C<$chatnet> + +=back =back @@ -162,25 +225,81 @@ B =over 4 -=item C<"commandlist new">, L C<$cmd> +=item C<"commandlist new"> + +=over + +=item L C<$cmd> + +=back + +=item C<"commandlist remove"> + +=over + +=item L C<$cmd> + +=back + +=item C<"error command"> + +=over + +=item int C<$err> + +=item string C<$cmd> + +=back + +=item C<"send command"> + +=over + +=item string C<$args> + +=item L C<$server> + +=item L C<$witem> + +=back + +=item C<"send text"> + +=over + +=item string C<$line> + +=item L C<$server> + +=item L C<$witem> + +=back + +=item C<"command "> -=item C<"commandlist remove"> L C<$cmd> +=over -=item C<"error command"> int C<$err>, string C<$cmd> +=item string C<$args> -=item C<"send command"> string C<$args>, - L C<$server>, L C<$witem> +=item L C<$server> -=item C<"send text"> string C<$line>, L C<$server>, - L C<$witem> +=item L C<$witem> -=item C<"command "> string C<$args>, L C<$server>, - L C<$witem> +=back B -=item C<"default command"> string C<$args>, L C<$server>, - L C<$witem> +=item C<"default command"> + +=over + +=item string C<$args> + +=item L C<$server> + +=item L C<$witem> + +=back =back @@ -188,11 +307,29 @@ B =over 4 -=item C<"ignore created"> L C<$ignore> +=item C<"ignore created"> + +=over + +=item L C<$ignore> + +=back + +=item C<"ignore destroyed"> + +=over -=item C<"ignore destroyed"> L C<$ignore> +=item L C<$ignore> + +=back + +=item C<"ignore changed"> + +=over -=item C<"ignore changed"> L C<$ignore> +=item L C<$ignore> + +=back =back @@ -200,21 +337,71 @@ B =over 4 -=item C<"log new"> L C<$log> +=item C<"log new"> + +=over + +=item L C<$log> + +=back + +=item C<"log remove"> + +=over + +=item L C<$log> + +=back + +=item C<"log create failed"> + +=over + +=item L C<$log> + +=back + +=item C<"log locked"> + +=over + +=item L C<$log> + +=back + +=item C<"log started"> + +=over + +=item L C<$log> + +=back + +=item C<"log stopped"> -=item C<"log remove"> L C<$log> +=over + +=item L C<$log> + +=back -=item C<"log create failed"> L C<$log> +=item C<"log rotated"> -=item C<"log locked"> L C<$log> +=over -=item C<"log started"> L C<$log> +=item L C<$log> -=item C<"log stopped"> L C<$log> +=back -=item C<"log rotated"> L C<$log> +=item C<"log written"> -=item C<"log written"> L C<$log>, string C<$line> +=over + +=item L C<$log> + +=item string C<$line> + +=back =back @@ -224,11 +411,39 @@ B =over 4 -=item "module loaded", MODULE_REC, MODULE_FILE_REC +=item C<"module loaded"> -=item "module unloaded", MODULE_REC, MODULE_FILE_REC +=over -=item "module error", int error, char *text, char *rootmodule, char *submodule +=item MODULE_REC C<$module> + +=item MODULE_FILE_REC C<$module_file> + +=back + +=item C<"module unloaded"> + +=over + +=item MODULE_REC C<$module> + +=item MODULE_FILE_REC C<$module_file> + +=back + +=item C<"module error"> + +=over + +=item int C<$error> + +=item string C<$text> + +=item string C<$root_module> + +=item string C<$sub_module> + +=back =back @@ -236,100 +451,323 @@ B =over 4 -=item C<"nicklist new"> L C<$channel>, L C<$nick> +=item C<"nicklist new"> + +=over + +=item L C<$channel> -=item "nicklist remove", CHANNEL_REC, NICK_REC +=item L C<$nick> -=item "nicklist changed", CHANNEL_REC, NICK_REC, char *old_nick +=back + +=item C<"nicklist remove"> + +=over + +=item L C<$channel> + +=item L C<$nick> + +=back + +=item C<"nicklist changed"> + +=over -=item "nicklist host changed", CHANNEL_REC, NICK_REC +=item L C<$channel> -=item "nicklist gone changed", CHANNEL_REC, NICK_REC +=item L C<$nick> -=item "nicklist serverop changed", CHANNEL_REC, NICK_REC +=item string C<$old_nick> =back -=head3 pidwait.c: +=item C<"nicklist host changed"> + +=over + +=item L C<$channel> + +=item L C<$nick> + +=back + +=item C<"nicklist gone changed"> + +=over + +=item L C<$channel> + +=item L C<$nick> + +=back + +=item C<"nicklist serverop changed"> + +=over + +=item L C<$channel> + +=item L C<$nick> + +=back + +=back + +=head3 F: =over 4 -=item "pidwait", int pid, int status +=item C<"pidwait"> + +=over + +=item int C<$pid> + +=item int C<$status> =back -=head3 queries.c: +=back + +=head3 F: =over 4 -=item "query created", QUERY_REC, int automatic +=item C<"query created"> + +=over + +=item L C<$query> -=item "query destroyed", QUERY_REC +=item int C<$automatic> -=item "query nick changed", QUERY_REC, char *orignick +=back + +=item C<"query destroyed"> + +=over + +=item L C<$query> + +=back + +=item C<"query nick changed"> + +=over + +=item L C<$query> -=item "window item name changed", WI_ITEM_REC +=item string C<$original_nick> -=item "query address changed", QUERY_REC +=back + +=item C<"window item name changed"> + +=over -=item "query server changed", QUERY_REC, SERVER_REC +=item L C<$witem> =back +=item C<"query address changed"> + +=over -=head3 rawlog.c: +=item L C<$query> + +=back + +=item C<"query server changed"> + +=over + +=item L C<$query> + +=item L C<$server> + +=back + +=back + + +=head3 F: =over 4 -=item "rawlog", RAWLOG_REC, char *data +=item C<"rawlog"> + +=over + +=item L C<$raw_log> + +=item string C<$data> + +=back =back -=head3 server.c: +=head3 F: =over 4 -=item "server looking", SERVER_REC +=item C<"server looking"> + +=over + +=item L C<$server> + +=back + +=item C<"server connected"> + +=over + +=item L C<$server> + +=back + + +=item C<"server connecting"> + +=over + +=item L C<$server> + +=item ulongptr C<$ip> + +=back + +=item C<"server connect failed"> -=item "server connected", SERVER_REC +=over -=item "server connecting", SERVER_REC, ulong *ip +=item L C<$server> -=item "server connect failed", SERVER_REC +=back -=item "server disconnected", SERVER_REC +=item C<"server disconnected"> -=item "server quit", SERVER_REC, char *msg +=over -=item "server sendmsg", SERVER_REC, char *target, char *msg, int target_type +=item L C<$server> =back -=head3 settings.c: +=item C<"server quit"> + +=over + +=item L C<$server> + +=item string C<$message> + +=back + +=item C<"server sendmsg"> + +=over + +=item L C<$server> + +=item string C<$target> + +=item string C<$message> + +=item int C<$target_type> + +=back + +=back + +=head3 F: =over 4 -=item "setup changed" +=item C<"setup changed"> + +=over + +=item I + +=back + +=item C<"setup reread"> + +=over + +=item string C<$fname> -=item "setup reread", char *fname +=back + +=item C<"setup saved"> + +=over + +=item string C<$fname> -=item "setup saved", char *fname, int autosaved +=item int C<$autosaved> + +=back =back =head2 IRC Core -=head3 bans.c: +=head3 F: + +=over 4 + +=item C<"ban type changed"> + +=over + +=item string C<$bantype> + +=back + +=back - "ban type changed", char *bantype +=head3 F, F: -=head3 channels, nicklist: +B + +=over 4 + +=item C<"channel joined"> + +=over - "channel joined", CHANNEL_REC - "channel wholist", CHANNEL_REC - "channel sync", CHANNEL_REC +=item L C<$channel> - "channel topic changed", CHANNEL_REC +=back + +=item C<"channel wholist"> + +=over + +=item L C<$channel> + +=back + +=item C<"channel sync"> + +=over + +=item L C<$channel> + +=back + +=item C<"channel topic changed"> + +=over + +=item L C<$channel> + +=back + +=back =head3 ctcp.c: -- cgit v1.2.3