diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2012-12-21 12:54:17 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2012-12-21 12:54:17 (GMT) |
commit | 0cfcbee3c536ac6d11ec806d47ce4c136f695697 (patch) | |
tree | ffe4164a1337922e66c2ed024eeb6d407ab76d59 /src/plugins/plugin-int.h | |
parent | cf9ea46a796000f0252bb7d80c0ac0fb170e156a (diff) |
Unloaded loaded plugins and (started to) avoid memory leaks.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@307 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/plugins/plugin-int.h')
-rw-r--r-- | src/plugins/plugin-int.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/plugin-int.h b/src/plugins/plugin-int.h index 055f6ff..20d9720 100644 --- a/src/plugins/plugin-int.h +++ b/src/plugins/plugin-int.h @@ -40,6 +40,9 @@ typedef char * (* get_plugin_name_fc) (void); /* Procède à l'initialisation du greffon. */ typedef bool (* init_plugin_fc) (GPluginModule *, GObject *); +/* Procède à l'extinction du greffon. */ +typedef void (* exit_plugin_fc) (GPluginModule *); + /* Fournit une indication sur le type d'opération(s) menée(s). */ typedef PluginAction (* get_plugin_action_fc) (const GPluginModule *); @@ -65,6 +68,7 @@ struct _GPluginModule PluginType type; /* Type(s) du greffon */ init_plugin_fc init; /* Procédure d'initialisation */ + exit_plugin_fc exit; /* Procédure d'extinction */ get_plugin_action_fc get_action; /* Opération(s) menée(s) */ is_matching_fc is_matching; /* Recherche de correspondance */ |