view doc/cmd-signals.dox @ 23982:7fbc99a1481d

purple_url_parse() now gracefully handles a url which is wholly invalid. Previously, if sscanf() failed, it would assign *ret_host to g_strdup()'d garbage. Now it assigns it to NULL. This probably fixes more than a single issue, but specifically it fixes a crash which could occur when querying UPnP on a WR641G router in some situations because the router would lead us to look up the url "/ipc".
author Evan Schoenberg <evan.s@dreskin.net>
date Wed, 27 Aug 2008 02:54:59 +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
*/