diff libpurple/certificate.h @ 18975:172b8d1dc2be

- CertificatePool member functions no longer accept a Pool instance, as Pools are expected to be singletons - Add skeleton for x509 tls_peers CertificatePool
author William Ehlhardt <williamehlhardt@gmail.com>
date Thu, 28 Jun 2007 23:47:07 +0000
parents 6b7c234b4984
children 31bdbb82de7e
line wrap: on
line diff
--- a/libpurple/certificate.h	Thu Jun 28 23:33:53 2007 +0000
+++ b/libpurple/certificate.h	Thu Jun 28 23:47:07 2007 +0000
@@ -95,21 +95,16 @@
 	 *
 	 * Upon calling purple_certificate_register_pool() , this function will
 	 * be called. May be NULL.
-	 * @param pool      Pool instance being registered. This will not be
-	 *                  relevant for most applications.
 	 * @return TRUE if the initialization succeeded, otherwise FALSE
 	 */
-	gboolean (* init)(PurpleCertificatePool *pool);
+	gboolean (* init)(void);
 
 	/**
 	 * Uninit the Pool's internal state
 	 *
 	 * Will be called by purple_certificate_unregister_pool() . May be NULL
-	 *
-	 * @param pool      Pool instance being unregistered. This will not be
-	 *                  relevant for most applications.
 	 */
-	void (* uninit)(PurpleCertificatePool *pool);
+	void (* uninit)(void);
 
 	/** Check for presence of a certificate in the pool using unique ID */
 	gboolean (* cert_in_pool)(const gchar *id);