diff options
Diffstat (limited to 'src/plugins/plugin-int.h')
-rw-r--r-- | src/plugins/plugin-int.h | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/src/plugins/plugin-int.h b/src/plugins/plugin-int.h index 03040d1..04b87bb 100644 --- a/src/plugins/plugin-int.h +++ b/src/plugins/plugin-int.h @@ -32,6 +32,7 @@ #include "plugin.h" #include "plugin-def.h" #include "../analysis/content.h" +#include "../analysis/loaded.h" #include "../common/bits.h" #include "../core/logs.h" @@ -47,13 +48,16 @@ typedef void (* pg_process_disassembly_fc) (const GPluginModule *, PluginAction, /* Procède à une opération liée à un contenu binaire. */ -typedef void (* pg_handle_content) (const GPluginModule *, PluginAction, GBinContent *, wgroup_id_t, GtkStatusStack *); +typedef void (* pg_handle_content_fc) (const GPluginModule *, PluginAction, GBinContent *, wgroup_id_t, GtkStatusStack *); + +/* Procède à une opération liée à un contenu chargé. */ +typedef void (* pg_handle_loaded_fc) (const GPluginModule *, PluginAction, GLoadedContent *, wgroup_id_t, GtkStatusStack *); /* Procède à une opération liée au format de fichier uniquement. */ -typedef bool (* pg_handle_format) (const GPluginModule *, PluginAction, GBinFormat *, GtkStatusStack *); +typedef bool (* pg_handle_format_fc) (const GPluginModule *, PluginAction, GBinFormat *, GtkStatusStack *); /* Procède à un préchargement de format de fichier. */ -typedef bool (* pg_preload_format) (const GPluginModule *, PluginAction, GBinFormat *, GPreloadInfo *, GtkStatusStack *); +typedef bool (* pg_preload_format_fc) (const GPluginModule *, PluginAction, GBinFormat *, GPreloadInfo *, GtkStatusStack *); @@ -115,9 +119,10 @@ struct _GPluginModule //execute_on_debugger_fc handle_debugger; /* Action liée à un débogueur */ - pg_handle_content handle_content; /* Explorations ou résolutions */ - pg_handle_format handle_format; /* Manipulation du format */ - pg_preload_format preload_format; /* Préchargement d'un format */ + pg_handle_content_fc handle_content; /* Explorations ou résolutions */ + pg_handle_loaded_fc handle_loaded; /* Traitement de contenu chargé*/ + pg_handle_format_fc handle_format; /* Manipulation du format */ + pg_preload_format_fc preload_format; /* Préchargement d'un format */ }; |