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/elf/elf.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/elf/elf.h')
-rw-r--r-- | src/format/elf/elf.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/format/elf/elf.h b/src/format/elf/elf.h index 8e9a2cc..a557927 100644 --- a/src/format/elf/elf.h +++ b/src/format/elf/elf.h @@ -31,8 +31,7 @@ #include "elf_def.h" -#include "../executable.h" -#include "../format.h" +#include "../../core/formats.h" @@ -51,7 +50,7 @@ typedef struct _GElfFormatClass GElfFormatClass; /* Indique si le format peut être pris en charge ici. */ -const char *elf_is_matching(GBinContent *, GExeFormat *); +FormatMatchStatus elf_is_matching(GBinContent *, GExeFormat *, void *, char **); /* Indique le type défini pour un format d'exécutable ELF. */ GType g_elf_format_get_type(void); |