view doc/cipher-signals.dox @ 28670:9206aabf0251

jabber: Don't crash when disconnecting if there's been no response from the server. PurpleBOSHConnection.sid is only set after we've received a resposne from the server, so if we try to send a 'terminate' before we have a response, it will crash on Win32 (NULL printf), plus it's wrong anyway.
author Paul Aurich <paul@darkrain42.org>
date Mon, 28 Sep 2009 22:11:54 +0000
parents e0613cf8c493
children
line wrap: on
line source

/** @page cipher-signals Cipher Signals

 @signals
  @signal cipher-added
  @signal cipher-removed
 @endsignals

 @see cipher.h

 <hr>

 @signaldef cipher-added
  @signalproto
void (*cipher_added)(PurpleCipher *cipher);
  @endsignalproto
  @signaldesc
   Emitted when a cipher is added.
  @param cipher The cipher that was added.
 @endsignaldef

 @signaldef cipher-removed
  @signalproto
void (*cipher_removed)(PurpleCipher *cipher);
  @endsignalproto
  @signaldesc
   Emitted when a cipher is removed.
  @param cipher The cipher that was removed.
 @endsignaldef

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