view doc/certificate-signals.dox @ 27278:c0f1ae3e16e0

Use the active-id the message was sent to when sending the ack. Yahoo allows you to have multiple 'id'/'profile's associated with the same account. If a message is sent to the currently non-active id, then we need to use that id when sending the ack. Otherwise we end up getting the message replayed to us in seven seconds.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sat, 27 Jun 2009 22:43:45 +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