view doc/cmd-signals.dox @ 28689:de319028ad28

disapproval of revision 'd6f80b7ba5ba2da4ae203eac6f07565721b10ad8' This change has produced regressions when using HTTP/1.0, as the proxy closes the connection, which is treated as a connection failure. Refs #10880, #10856 for examples. Refs #2910
author Paul Aurich <paul@darkrain42.org>
date Thu, 03 Dec 2009 05:38:10 +0000
parents 1ca49b349037
children
line wrap: on
line source

/** @page cmd-signals Command Signals
  @signals
  	@signal cmd-added
	@signal cmd-removed
  @endsignals

  @see cmds.h

  @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

  @signaldef cmd-removed
  	@signalproto
void (*cmd_removed)(const char *command);
	@endsignalproto
	@signaldesc
	 Emitted when a command is removed.
	@param command   The removed command.
  @endsignaldef
*/