diff -r 254e2d4e6056 -r 13cf9f35c2aa doc/reference/libpurple/signals_cmd.xml --- a/doc/reference/libpurple/signals_cmd.xml Tue Oct 22 02:51:40 2013 +0530 +++ b/doc/reference/libpurple/signals_cmd.xml Tue Oct 22 02:52:36 2013 +0530 @@ -3,36 +3,69 @@ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [ ]> - Command signals +Command signals - - @signals - @signal cmd-added - @signal cmd-removed - @endsignals + +List of signals + + "cmd-added" + "cmd-removed" + + - @see cmds.h + +Signal details - @signaldef cmd-added - @signalproto -void (*cmd_added)(const char *command, PurpleCmdPriority priority, - PurpleCmdFlag flag); - @endsignalproto - @signaldesc - Emitted when a new command is added. - @param command The new command. - @param priority The priority of the new command. - @param flag The command flags. - @endsignaldef + + The <literal>"cmd-added"</literal> signal + +void user_function (const char *command, + PurpleCmdPriority priority, + PurpleCmdFlag flag, + gpointer user_data) + +Emitted when a new command is added. + + + + command : + The new command. + + + priority : + The priority of the new command. + + + flag : + The command flags. + + + user_data : + user data set when the signal handler was connected. + + + - @signaldef cmd-removed - @signalproto -void (*cmd_removed)(const char *command); - @endsignalproto - @signaldesc - Emitted when a command is removed. - @param command The removed command. - @endsignaldef + + The <literal>"cmd-removed"</literal> signal + +void user_function (const char *command, + gpointer user_data) + +Emitted when a command is removed. + + + + command : + The removed command. + + + user_data : + user data set when the signal handler was connected. + + + - + +