summaryrefslogtreecommitdiff
path: root/src/format/format-int.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/format/format-int.h')
-rw-r--r--src/format/format-int.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/format/format-int.h b/src/format/format-int.h
index 319f5cd..27d4129 100644
--- a/src/format/format-int.h
+++ b/src/format/format-int.h
@@ -32,6 +32,10 @@
/* ------------------------ TRAITEMENT INDIVIDUEL DE FORMATS ------------------------ */
+/* Procède à la décompilation complète du format. */
+typedef void (* format_decompile_fc) (const GBinFormat *, GCodeBuffer *, const char *);
+
+
/* Format binaire générique (instance) */
struct _GBinFormat
{
@@ -46,6 +50,8 @@ struct _GBinFormat
GBinRoutine **routines; /* Liste des routines trouvées */
size_t routines_count; /* Nombre de ces routines */
+ format_decompile_fc decompile; /* Décompilation d'un fichier */
+
};
/* Format binaire générique (classe) */