summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-05-17 18:05:48 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-05-17 18:05:48 (GMT)
commitd110791309783e6e30df837a81cf8e14e1ac9641 (patch)
tree75e65909e080cc3ace578c7beb6f0bdae6dc18c1 /src
parentf3e136eab9fd6adcb51988c9f70ca7f35552abc4 (diff)
Updated the plugin system and its Python documentation.
Diffstat (limited to 'src')
-rw-r--r--src/plugins/plugin.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/plugin.c b/src/plugins/plugin.c
index 674b1a8..dc8fc59 100644
--- a/src/plugins/plugin.c
+++ b/src/plugins/plugin.c
@@ -424,7 +424,7 @@ GPluginModule *g_plugin_module_new(const gchar *filename)
break;
case DPS_DISASSEMBLY:
- valid = check_plugin_symbol(module, "chrysalide_plugin_process_binary_disassembly");
+ valid = check_plugin_symbol(module, "chrysalide_plugin_process_disassembly_event");
break;
case DPS_DETECTION:
@@ -684,7 +684,7 @@ static void g_plugin_module_init_gclass(GPluginModuleClass *class, GModule *modu
break;
case DPS_DISASSEMBLY:
- load_plugin_symbol(module, "chrysalide_plugin_process_binary_disassembly", &class->process_disass);
+ load_plugin_symbol(module, "chrysalide_plugin_process_disassembly_event", &class->process_disass);
break;
case DPS_DETECTION:
@@ -1130,7 +1130,7 @@ void g_plugin_module_handle_binary_content(const GPluginModule *plugin, PluginAc
* Paramètres : plugin = greffon à manipuler. *
* action = type d'action attendue. *
* content = contenu chargé à traiter. *
-* wid = identifiant du groupe de traitement. *
+* gid = identifiant du groupe de traitement. *
* status = barre de statut à tenir informée. *
* *
* Description : Procède à une opération liée à un contenu chargé. *
@@ -1141,13 +1141,13 @@ void g_plugin_module_handle_binary_content(const GPluginModule *plugin, PluginAc
* *
******************************************************************************/
-void g_plugin_module_handle_loaded_content(const GPluginModule *plugin, PluginAction action, GLoadedContent *content, wgroup_id_t wid, GtkStatusStack *status)
+void g_plugin_module_handle_loaded_content(const GPluginModule *plugin, PluginAction action, GLoadedContent *content, wgroup_id_t gid, GtkStatusStack *status)
{
GPluginModuleClass *class; /* Classe de l'instance active */
class = G_PLUGIN_MODULE_GET_CLASS(plugin);
- return class->handle_loaded(plugin, action, content, wid, status);
+ return class->handle_loaded(plugin, action, content, gid, status);
}