view doc/cmd-signals.dox @ 31072:9b55bc3e2640

oscar: Fix a leak in aim_tlvlist_add_caps ==32109== 384 bytes in 2 blocks are definitely lost in loss record 17,065 of 18,342 ==32109== at 0x4C244E8: malloc (vg_replace_malloc.c:236) ==32109== by 0x90D8534: g_malloc (gmem.c:132) ==32109== by 0x1613A4F0: byte_stream_new (bstream.c:32) ==32109== by 0x1615DF63: aim_tlvlist_add_caps (tlv.c:413) ==32109== by 0x16144FE6: aim_locate_setcaps (family_locate.c:1361) ==32109== by 0x16154CA2: purple_parse_locaterights (oscar.c:2806) ==32109== by 0x1614632B: snachandler (family_locate.c:1251) ==32109== by 0x1614B4D2: flap_connection_recv (flap_connection.c:776)
author Paul Aurich <paul@darkrain42.org>
date Tue, 28 Dec 2010 05:57:57 +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
*/