diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-04-21 22:00:00 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-04-21 22:00:00 (GMT) |
commit | 8eb95d316f7b6fbad0ff798abfe7f70f89e812d2 (patch) | |
tree | 4f310c7ffdb94d48fff236e63c7e6f0ed9f1dee1 /src/plugins/plugin-int.h | |
parent | 315146a49b5570294ca20beca720c4e3f74a86bd (diff) |
Improved the way file formats are detected and loaded.
Diffstat (limited to 'src/plugins/plugin-int.h')
-rw-r--r-- | src/plugins/plugin-int.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/plugin-int.h b/src/plugins/plugin-int.h index 213ae92..5fae2de 100644 --- a/src/plugins/plugin-int.h +++ b/src/plugins/plugin-int.h @@ -46,8 +46,8 @@ typedef void (* pg_process_disassembly_fc) (const GPluginModule *, PluginAction, -/* Indique si le format peut être pris en charge ici. */ -//typedef bool (* pg_format_is_matching) (const GPluginModule *, GBinContent **); +/* Procède à une opération liée à un contenu binaire. */ +typedef void (* pg_handle_content) (const GPluginModule *, PluginAction, GBinContent *, gid_t, GtkStatusStack *); /* Procède à une opération liée au format de fichier uniquement. */ typedef bool (* pg_handle_format) (const GPluginModule *, PluginAction, GBinFormat *, GtkStatusStack *); @@ -115,7 +115,7 @@ struct _GPluginModule //execute_on_debugger_fc handle_debugger; /* Action liée à un débogueur */ - //pg_format_is_matching is_matching; /* Recherche de correspondance */ + 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 */ |