diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2009-07-26 22:40:17 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2009-07-26 22:40:17 (GMT) |
commit | fd2abec30a224279c62a7ab4892d95e56cb08dff (patch) | |
tree | 2cfcc70115749267fb0f1bc96511dfb61935203f /plugins/stackvars | |
parent | 3155a05a21a52a173b8a711c402426392eb53c2a (diff) |
Moved the openida_binary structure to a GOpenidaBinary GLib object.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@103 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'plugins/stackvars')
-rw-r--r-- | plugins/stackvars/stackvars.c | 6 | ||||
-rw-r--r-- | plugins/stackvars/stackvars.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/stackvars/stackvars.c b/plugins/stackvars/stackvars.c index 5f34119..9a7b965 100644 --- a/plugins/stackvars/stackvars.c +++ b/plugins/stackvars/stackvars.c @@ -96,7 +96,7 @@ G_MODULE_EXPORT PluginAction get_plugin_action(void) * * ******************************************************************************/ -G_MODULE_EXPORT bool execute_action_on_binary(openida_binary *binary, PluginAction action) +G_MODULE_EXPORT bool execute_action_on_binary(GOpenidaBinary *binary, PluginAction action) { bool result; /* Bilan à retourner */ GRenderingLine *lines; /* Lignes de rendu */ @@ -109,9 +109,9 @@ G_MODULE_EXPORT bool execute_action_on_binary(openida_binary *binary, PluginActi printf(" ------------- exec stackvars !!!\n"); - lines = get_openida_binary_lines(binary); + lines = g_openida_binary_get_lines(binary); - format = get_openida_binary_format(binary); + format = g_openida_binary_get_format(binary); routines = get_all_exe_routines(format, &routines_count); for (i = 0; i < routines_count; i++) diff --git a/plugins/stackvars/stackvars.h b/plugins/stackvars/stackvars.h index ef7e548..fdd48b5 100644 --- a/plugins/stackvars/stackvars.h +++ b/plugins/stackvars/stackvars.h @@ -42,7 +42,7 @@ G_MODULE_EXPORT bool init_plugin(GObject *); G_MODULE_EXPORT PluginAction get_plugin_action(void); /* Exécute une action définie sur un binaire chargé. */ -G_MODULE_EXPORT bool execute_action_on_binary(openida_binary *, PluginAction); +G_MODULE_EXPORT bool execute_action_on_binary(GOpenidaBinary *, PluginAction); |