summaryrefslogtreecommitdiff
path: root/src/plugins/plugin-int.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/plugin-int.h')
-rw-r--r--src/plugins/plugin-int.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/plugins/plugin-int.h b/src/plugins/plugin-int.h
index 1ab8d36..a4f3cb6 100644
--- a/src/plugins/plugin-int.h
+++ b/src/plugins/plugin-int.h
@@ -2,7 +2,7 @@
/* OpenIDA - Outil d'analyse de fichiers binaires
* plugin-int.h - prototypes pour les structures internes des greffons
*
- * Copyright (C) 2010-2011 Cyrille Bagard
+ * Copyright (C) 2010-2012 Cyrille Bagard
*
* This file is part of OpenIDA.
*
@@ -42,6 +42,9 @@ typedef PluginAction (* get_plugin_action_fc) (const GPluginModule *);
/* Identifie un format à associer à un contenu binaire. */
typedef MatchingFormatAction (* is_matching_fc) (const GPluginModule *, char **, bin_t **, off_t *);
+/* Exécute une action relative à un débogueur. */
+typedef bool (* execute_on_debugger_fc) (const GPluginModule *, GBinaryDebugger *, PluginAction);
+
/* Greffon pour OpenIDA (instance) */
struct _GPluginModule
@@ -58,6 +61,7 @@ struct _GPluginModule
is_matching_fc is_matching; /* Recherche de correspondance */
execute_action_on_binary_fc exec_on_bin;/* Action sur un binaire */
+ execute_on_debugger_fc handle_debugger; /* Action liée à un débogueur */
};