comparison src/plugin.h @ 12926:2c4f20ff387c

[gaim-migrate @ 15279] SF Patch #1403656 from Nick Hebner "This patch makes plugin unloading take into account plugins that depend on the plugin being unloaded. All plugins dependent on the plugin in question are unloaded before this plugin is, so there are not problems with missing dependencies." committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Wed, 18 Jan 2006 18:21:59 +0000
parents 0bc110c7ab91
children 4e9935a539db
comparison
equal deleted inserted replaced
12925:fd734d1fb2f4 12926:2c4f20ff387c
124 GaimPluginInfo *info; /**< The plugin information. */ 124 GaimPluginInfo *info; /**< The plugin information. */
125 char *error; 125 char *error;
126 void *ipc_data; /**< IPC data. */ 126 void *ipc_data; /**< IPC data. */
127 void *extra; /**< Plugin-specific data. */ 127 void *extra; /**< Plugin-specific data. */
128 gboolean unloadable; /**< Unloadable */ 128 gboolean unloadable; /**< Unloadable */
129 GList *dependent_plugins; /**< Plugins depending on this */
129 }; 130 };
130 131
131 #define GAIM_PLUGIN_LOADER_INFO(plugin) \ 132 #define GAIM_PLUGIN_LOADER_INFO(plugin) \
132 ((GaimPluginLoaderInfo *)(plugin)->info->extra_info) 133 ((GaimPluginLoaderInfo *)(plugin)->info->extra_info)
133 134