view doc/certificate-signals.dox @ 31711:feb50c34ec46

Fix a memleak in the MSN prpl when removing a buddy from your buddy list. We needed to call msn_user_unref() after calling msn_userlist_remove_user() I chose to fix this by changing msn_userlist_add_user() and msn_userlist_remove_user() to incremend and decrement the reference counter themselves--after all, they ARE the ones who add/remove a reference to the MsnUser struct. Conceptually I thought this made the most sense.
author Mark Doliner <mark@kingant.net>
date Mon, 28 Feb 2011 07:12:27 +0000
parents e0613cf8c493
children
line wrap: on
line source

/** @page certificate-signals Certificate Signals

 @signals
  @signal certificate-stored
  @signal certificate-deleted
 @endsignals

 @see certificate.h

 <hr>

 @signaldef certificate-stored
  @signalproto
void (*certificate_stored)(PurpleCertificatePool *pool, const gchar *id, gpointer data);
  @endsignalproto
  @signaldesc
   Emitted when a pool stores a certificate. Connect to the pool instance.
  @param pool    Pool the certificate has been stored into
  @param id      Key the certificate was stored under
 @endsignaldef

 @signaldef certificate-deleted
  @signalproto
void (*certificate_deleted)(PurpleCertificatePool *pool, const gchar *id, gpointer data);
  @endsignalproto
  @signaldesc
   Emitted when a pool deletes a certificate. Connect to the pool instance.
  @param pool    Pool the certificate was deleted from
  @param id      Key that was deleted
 @endsignaldef

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