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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/format/format-int.h b/src/format/format-int.h
index 84f77c4..90b278e 100644
--- a/src/format/format-int.h
+++ b/src/format/format-int.h
@@ -32,6 +32,9 @@
/* ------------------------ TRAITEMENT INDIVIDUEL DE FORMATS ------------------------ */
+/* Indique le boutisme employé par le format binaire analysé. */
+typedef SourceEndian (* format_get_endian_fc) (const GBinFormat *);
+
/* Procède à la décompilation complète du format. */
typedef void (* format_decompile_fc) (const GBinFormat *, GCodeBuffer *, const char *);
@@ -75,6 +78,8 @@ struct _GBinFormatClass
{
GObjectClass parent; /* A laisser en premier */
+ format_get_endian_fc get_endian; /* Boutisme employé */
+
};