Mercurial > pidgin
comparison src/plugin.c @ 5573:5e7de337a053
[gaim-migrate @ 5976]
Account saving and loading _mostly_ works.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Fri, 30 May 2003 23:57:11 +0000 |
parents | cce2d7868c78 |
children | 0bdfa28c678e |
comparison
equal
deleted
inserted
replaced
5572:dfdea22a7153 | 5573:5e7de337a053 |
---|---|
64 #endif | 64 #endif |
65 | 65 |
66 static GList *loaded_plugins = NULL; | 66 static GList *loaded_plugins = NULL; |
67 static GList *plugins = NULL; | 67 static GList *plugins = NULL; |
68 static GList *plugin_loaders = NULL; | 68 static GList *plugin_loaders = NULL; |
69 static GList *protocol_plugins = NULL; | |
69 | 70 |
70 static size_t search_path_count = 0; | 71 static size_t search_path_count = 0; |
71 static char **search_paths = NULL; | 72 static char **search_paths = NULL; |
72 | 73 |
73 static void (*probe_cb)(void *) = NULL; | 74 static void (*probe_cb)(void *) = NULL; |
616 gaim_plugin_destroy(plugin); | 617 gaim_plugin_destroy(plugin); |
617 | 618 |
618 return FALSE; | 619 return FALSE; |
619 } | 620 } |
620 | 621 |
621 protocols = g_slist_insert_sorted(protocols, plugin, | 622 protocol_plugins = g_list_insert_sorted(protocol_plugins, plugin, |
622 (GCompareFunc)compare_prpl); | 623 (GCompareFunc)compare_prpl); |
623 } | 624 } |
624 | 625 |
625 plugins = g_list_append(plugins, plugin); | 626 plugins = g_list_append(plugins, plugin); |
626 | 627 |
627 return TRUE; | 628 return TRUE; |
742 { | 743 { |
743 return loaded_plugins; | 744 return loaded_plugins; |
744 } | 745 } |
745 | 746 |
746 GList * | 747 GList * |
748 gaim_plugins_get_protocols(void) | |
749 { | |
750 return protocol_plugins; | |
751 } | |
752 | |
753 GList * | |
747 gaim_plugins_get_all(void) | 754 gaim_plugins_get_all(void) |
748 { | 755 { |
749 return plugins; | 756 return plugins; |
750 } | 757 } |
751 | 758 |