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/pglist.h | |
parent | 315146a49b5570294ca20beca720c4e3f74a86bd (diff) |
Improved the way file formats are detected and loaded.
Diffstat (limited to 'src/plugins/pglist.h')
-rw-r--r-- | src/plugins/pglist.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/plugins/pglist.h b/src/plugins/pglist.h index d406cc8..4c8194d 100644 --- a/src/plugins/pglist.h +++ b/src/plugins/pglist.h @@ -85,14 +85,20 @@ GPluginModule **get_all_plugins_for_action(PluginAction, size_t *); while (0) -/* DPS_FORMAT */ -//#define find_matching_format() -#define handle_binary_format(a, f, s) \ + +/* DPS_CONTENT */ + +#define handle_binary_content(a, c, i, s) \ + process_all_plugins_for(a, g_plugin_module_handle_binary_content, c, i, s) + +/* DPS_FORMAT */ + +#define handle_binary_format(a, f, s) \ process_all_plugins_for(a, g_plugin_module_handle_binary_format, f, s) -#define preload_binary_format(a, f, i, s) \ +#define preload_binary_format(a, f, i, s) \ process_all_plugins_for(a, g_plugin_module_preload_binary_format, f, i, s) /* DPS_DISASSEMBLY */ |