pidgin: 020e4e3b: Add a purple_plugins_get_search_paths fu...
deryni at pidgin.im
deryni at pidgin.im
Sun Jul 5 11:15:43 EDT 2009
-----------------------------------------------------------------
Revision: 020e4e3b64a5c0271c6736685bcd23afbd293920
Ancestor: 60e3f3543191a54772f5175522570e3591ce3d66
Author: deryni at pidgin.im
Date: 2009-06-18T22:48:49
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/020e4e3b64a5c0271c6736685bcd23afbd293920
Modified files:
ChangeLog.API libpurple/plugin.c libpurple/plugin.h
ChangeLog:
Add a purple_plugins_get_search_paths function.
-------------- next part --------------
============================================================
--- ChangeLog.API 7aec22e5459331b097b4c1e62b74192b4ff5c58b
+++ ChangeLog.API e753b6eacad61113b99aaae9fc28391723abd8f1
@@ -39,6 +39,7 @@ version 2.6.0 (??/??/2009):
* purple_network_set_turn_server
* purple_network_get_stun_ip
* purple_network_get_turn_ip
+ * purple_plugins_get_search_paths
* purple_proxy_connect_udp
* purple_prpl_get_media_caps
* purple_prpl_got_account_actions
============================================================
--- libpurple/plugin.c fa337da5e2cf783d2758f26ecf3a90327007ce5c
+++ libpurple/plugin.c eb27f1ebc8b3f0b053bd295c946663e1d137161c
@@ -1222,6 +1222,12 @@ purple_plugins_add_search_path(const cha
search_paths = g_list_append(search_paths, g_strdup(path));
}
+GList *
+purple_plugins_get_search_paths()
+{
+ return search_paths;
+}
+
void
purple_plugins_unload_all(void)
{
============================================================
--- libpurple/plugin.h 2fcd7b248cc9ca4f4eb27d250dbd1ae1e1dafb6d
+++ libpurple/plugin.h a9769c4b5cea898831ab255f5fa4da9632d538e0
@@ -512,6 +512,15 @@ void purple_plugins_add_search_path(cons
void purple_plugins_add_search_path(const char *path);
/**
+ * Returns a list of plugin search paths.
+ *
+ * @constreturn A list of searched paths.
+ *
+ * @since 2.6.0
+ */
+GList *purple_plugins_get_search_paths(void);
+
+/**
* Unloads all loaded plugins.
*/
void purple_plugins_unload_all(void);
More information about the Commits
mailing list