summaryrefslogtreecommitdiff
path: root/src/plugins/plugin.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-09-18 20:12:26 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-09-18 20:12:26 (GMT)
commitaa3cb06f056ccf1a0467eaff8aa4b40701902f5e (patch)
treedde8cdc10459f932235ee8709dda3ae6b164c752 /src/plugins/plugin.c
parent175e8193759e01b45b1f6d2d7970e2993ec8c364 (diff)
Removed the old way to load binaries.
Diffstat (limited to 'src/plugins/plugin.c')
-rw-r--r--src/plugins/plugin.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/plugins/plugin.c b/src/plugins/plugin.c
index 7780f43..d309332 100644
--- a/src/plugins/plugin.c
+++ b/src/plugins/plugin.c
@@ -39,9 +39,6 @@
#include "plugin-int.h"
-#include "../core/formats.h"
-
-
/* Initialise la classe des greffons. */
static void g_plugin_module_class_init(GPluginModuleClass *);
@@ -199,7 +196,6 @@ GPluginModule *g_plugin_module_new(const gchar *filename)
uint32_t action; /* Identifiant d'une action */
uint32_t category; /* Catégorie principale */
uint32_t sub; /* Sous-catégorie visée */
- format_match_fc matcher; /* Routine de reconnaissance */
result = g_object_new(G_TYPE_PLUGIN_MODULE, NULL);
@@ -334,17 +330,6 @@ GPluginModule *g_plugin_module_new(const gchar *filename)
switch (action)
{
- case PGA_FORMAT_MATCHER:
-
- if (!load_plugin_symbol(result->module,
- "is_format_matching", &matcher))
- goto bad_plugin;
-
- if (!register_format_matcher(matcher, result))
- goto bad_plugin;
-
- break;
-
case PGA_FORMAT_LOADER_LAST:
if (!load_plugin_symbol(result->module,
"handle_binary_format", &result->handle_format))