view doc/cmd-signals.dox @ 30200:fcc36743697c

jabber: Fix a crash in the BoB code when receiving from Jabbim. Actually, the real problem here is that Jabbim is leaving off a REQUIRED attribute (see http://xmpp.org/extensions/xep-0231.html#format), but we still shouldn't crash :). Closes #12185
author Paul Aurich <paul@darkrain42.org>
date Thu, 17 Jun 2010 01:51:58 +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
*/