doc/sound-signals.dox

Sat, 02 May 2009 19:33:22 +0000

author
Daniel Atallah <datallah@pidgin.im>
date
Sat, 02 May 2009 19:33:22 +0000
branch
release-2.5.5.veracode
changeset 25697
738e31fc6b51
parent 20897
2608e9e07913
permissions
-rw-r--r--

Prevent a NUL ptr deref when the passport is malformed.
This came out of the veracode analysis.

/** @page sound-signals Sound Signals

 @signals
  @signal playing-sound-event
 @endsignals

 @see sound.h

 <hr>

 @signaldef playing-sound-event
  @signalproto
gboolean (*playing_sound_event)(PurpleSoundEventID event, PurpleAccount *account);
  @endsignalproto
  @signaldesc
   Emitted when libpurple is going to play a sound event. This can be used to cancel playing sound by returning TRUE.
  @param event   The event this sound represents.
  @param account The account the sound is being played for.
  @return @c TRUE if the sound should not be played, or @c FALSE otherwise.
 @endsignaldef

 */
// vim: syntax=c.doxygen tw=75 et

mercurial