summaryrefslogtreecommitdiff
path: root/src/analysis/content-int.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-04-21 22:00:00 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-04-21 22:00:00 (GMT)
commit8eb95d316f7b6fbad0ff798abfe7f70f89e812d2 (patch)
tree4f310c7ffdb94d48fff236e63c7e6f0ed9f1dee1 /src/analysis/content-int.h
parent315146a49b5570294ca20beca720c4e3f74a86bd (diff)
Improved the way file formats are detected and loaded.
Diffstat (limited to 'src/analysis/content-int.h')
-rw-r--r--src/analysis/content-int.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/analysis/content-int.h b/src/analysis/content-int.h
index e8b4add..49d5269 100644
--- a/src/analysis/content-int.h
+++ b/src/analysis/content-int.h
@@ -29,6 +29,9 @@
+/* Donne l'origine d'un contenu binaire. */
+typedef GBinContent * (* get_content_root_fc) (GBinContent *);
+
/* Fournit le nom associé au contenu binaire. */
typedef const char * (* describe_content_fc) (const GBinContent *, bool);
@@ -80,6 +83,8 @@ struct _GBinContentIface
{
GTypeInterface base_iface; /* A laisser en premier */
+ get_content_root_fc get_root; /* Renvoie à l'origine */
+
describe_content_fc describe; /* Fournit une description */
save_content_fc save; /* Sauvegarde du contenu */