Mercurial > pidgin
changeset 19063:2f51578e6602
- Add debugging babble for registers/unregisters
author | William Ehlhardt <williamehlhardt@gmail.com> |
---|---|
date | Wed, 01 Aug 2007 04:20:40 +0000 |
parents | da88aa8f83ad |
children | f407244c4e57 |
files | libpurple/certificate.c |
diffstat | 1 files changed, 27 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/certificate.c Mon Jul 30 07:24:00 2007 +0000 +++ b/libpurple/certificate.c Wed Aug 01 04:20:40 2007 +0000 @@ -933,6 +933,11 @@ cert_schemes = g_list_prepend(cert_schemes, scheme); /* TODO: Signalling and such? */ + + purple_debug_info("certificate", + "CertificateScheme %s registered\n", + scheme->name); + return TRUE; } @@ -952,6 +957,11 @@ /* Neither of the above should be necessary, though */ cert_schemes = g_list_remove(cert_schemes, scheme); + purple_debug_info("certificate", + "CertificateScheme %s unregistered\n", + scheme->name); + + return TRUE; } @@ -1005,6 +1015,10 @@ cert_verifiers = g_list_prepend(cert_verifiers, vr); /* TODO: Signalling and such? */ + + purple_debug_info("certificate", + "CertificateVerifier %s registered\n", + vr->name); return TRUE; } @@ -1021,6 +1035,11 @@ cert_verifiers = g_list_remove(cert_verifiers, vr); + + purple_debug_info("certificate", + "CertificateVerifier %s unregistered\n", + vr->name); + return TRUE; } @@ -1104,7 +1123,11 @@ purple_value_new(PURPLE_TYPE_SUBTYPE, PURPLE_SUBTYPE_CERTIFICATEPOOL), purple_value_new(PURPLE_TYPE_STRING)); - + + + purple_debug_info("certificate", + "CertificatePool %s registered\n", + pool->name); return TRUE; } else { return FALSE; @@ -1142,5 +1165,8 @@ purple_signal_unregister(pool, "certificate-stored"); purple_signal_unregister(pool, "certificate-deleted"); + purple_debug_info("certificate", + "CertificatePool %s unregistered\n", + pool->name); return TRUE; }