comparison libpurple/certificate.c @ 19022:1f07f96dc1ce

- Add purple_certificate_get_handle
author William Ehlhardt <williamehlhardt@gmail.com>
date Sat, 14 Jul 2007 02:35:54 +0000
parents fcca10d0ac7d
children eb86ff3ba21a
comparison
equal deleted inserted replaced
19021:fcca10d0ac7d 19022:1f07f96dc1ce
718 purple_certificate_unregister_verifier(&x509_tls_cached); 718 purple_certificate_unregister_verifier(&x509_tls_cached);
719 719
720 /* TODO: Unregistering everything would be good... */ 720 /* TODO: Unregistering everything would be good... */
721 } 721 }
722 722
723 gpointer
724 purple_certificate_get_handle(void)
725 {
726 static gint handle;
727 return &handle;
728 }
729
723 PurpleCertificateScheme * 730 PurpleCertificateScheme *
724 purple_certificate_find_scheme(const gchar *name) 731 purple_certificate_find_scheme(const gchar *name)
725 { 732 {
726 PurpleCertificateScheme *scheme = NULL; 733 PurpleCertificateScheme *scheme = NULL;
727 GList *l; 734 GList *l;