| 296 * Returns: A new PurplePlugin structure. |
295 * Returns: A new PurplePlugin structure. |
| 297 */ |
296 */ |
| 298 PurplePlugin *purple_plugin_new(gboolean native, const char *path); |
297 PurplePlugin *purple_plugin_new(gboolean native, const char *path); |
| 299 |
298 |
| 300 /** |
299 /** |
| 301 * purple_plugin_set_data: |
|
| 302 * @plugin: The plugin. |
|
| 303 * @key: The data key. |
|
| 304 * @value: The data to set. |
|
| 305 * |
|
| 306 * Sets extra data for particular plugin. |
|
| 307 */ |
|
| 308 void |
|
| 309 purple_plugin_set_data(PurplePlugin *plugin, const gchar *key, gpointer value); |
|
| 310 |
|
| 311 /** |
|
| 312 * purple_plugin_get_data: |
|
| 313 * @plugin: The plugin. |
|
| 314 * @key: The data key. |
|
| 315 * |
|
| 316 * Gets extra data for particular plugin. |
|
| 317 * |
|
| 318 * Returns: data set previously with #purple_plugin_set_data. |
|
| 319 */ |
|
| 320 gpointer |
|
| 321 purple_plugin_get_data(PurplePlugin *plugin, const gchar *key); |
|
| 322 |
|
| 323 /** |
|
| 324 * purple_plugin_probe: |
300 * purple_plugin_probe: |
| 325 * @filename: The plugin's filename. |
301 * @filename: The plugin's filename. |
| 326 * |
302 * |
| 327 * Probes a plugin, retrieving the information on it and adding it to the |
303 * Probes a plugin, retrieving the information on it and adding it to the |
| 328 * list of available plugins. |
304 * list of available plugins. |