diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2015-09-19 22:28:42 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2015-09-19 22:28:42 (GMT) |
commit | 0e3059731d9687027c913135b3b856596c49a689 (patch) | |
tree | d3c3754f95c90ae50168817e6248afee6873fbf3 /src/format/executable.h | |
parent | 18648e4e8763a3bc005d6fae51eae3d1528d7d29 (diff) |
Extended the prototype for matching formats in order to get it suitable for plugins.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@577 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/format/executable.h')
-rw-r--r-- | src/format/executable.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/format/executable.h b/src/format/executable.h index 45c736b..48a8139 100644 --- a/src/format/executable.h +++ b/src/format/executable.h @@ -28,6 +28,7 @@ #include <glib-object.h> +#include "debuggable.h" #include "../glibext/gbinportion.h" @@ -52,6 +53,14 @@ typedef struct _GExeFormatClass GExeFormatClass; GType g_executable_format_get_type(void); +/* Rajoute des informations de débogage à un exécutable. */ +void g_exe_format_add_debug_info(GExeFormat *, GDbgFormat *); + +/* Compte le nombre de formats de débogage liés à l'exécutable. */ +size_t g_exe_format_count_debug_info(const GExeFormat *); + +/* Fournit un format de débogage attaché à l'exécutable. */ +GDbgFormat *g_exe_format_get_debug_info(const GExeFormat *, size_t); /* Indique le type d'architecture visée par le format. */ |