cpw.ljfisher.ssl_client_auth: 3011630c: Reinsert PurplePluginProtocolInto.get_ac...

lucas.fisher at gmail.com lucas.fisher at gmail.com
Sat Oct 22 18:40:28 EDT 2011


----------------------------------------------------------------------
Revision: 3011630cbb023810f6127c21c416f1f19a94b02b
Parent:   eabf4fe9a840b98e8b3edec1e1f02d78d0dfc7e4
Author:   lucas.fisher at gmail.com
Date:     10/22/11 18:36:50
Branch:   im.pidgin.cpw.ljfisher.ssl_client_auth
URL: http://d.pidgin.im/viewmtn/revision/info/3011630cbb023810f6127c21c416f1f19a94b02b

Changelog: 

Reinsert PurplePluginProtocolInto.get_account_options after merge from im.pidgin.pidgin

Changes against parent eabf4fe9a840b98e8b3edec1e1f02d78d0dfc7e4

  patched  libpurple/prpl.h

-------------- next part --------------
============================================================
--- libpurple/prpl.h	ced2bfd97eb553c1077faed53f106c3b7f3572f8
+++ libpurple/prpl.h	fdb5e2e18d789d9805e5c6345c8af6db13594a19
@@ -607,6 +607,17 @@ struct _PurplePluginProtocolInfo
 	void (*get_public_alias)(PurpleConnection *gc,
 	                         PurpleGetPublicAliasSuccessCallback success_cb,
 	                         PurpleGetPublicAliasFailureCallback failure_cb);
+
+	/**
+	 * Get account options for this protocol. Allows dynamic generation
+	 * of account options or values. Either this or protocol_options (above) should be
+	 * used. It should update protocol_options field with the new list when called.
+	 * Yes, we could call this updateAccountOptions, but it would be nice to move
+	 * away from just a field to a field getter.
+	 *
+	 * @returns GList of PurpleAccountOption
+	 */
+	GList *(*get_account_options)();
 };
 
 #define PURPLE_PROTOCOL_PLUGIN_HAS_FUNC(prpl, member) \


More information about the Commits mailing list