diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2019-07-01 19:22:17 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2019-07-01 19:22:17 (GMT) |
commit | bfd453d597d23b5c782aa8d40eb744d2ab56838e (patch) | |
tree | b285ada70fcb80b367542ec876716b2aa33ebc5c /src/analysis/content-int.h | |
parent | 2f1a1323b4b6c5d4ff84a6d4d335e0cf56c5c8fa (diff) |
Introduced attributes for loaded contents.
Diffstat (limited to 'src/analysis/content-int.h')
-rw-r--r-- | src/analysis/content-int.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/analysis/content-int.h b/src/analysis/content-int.h index f3d698e..24247ed 100644 --- a/src/analysis/content-int.h +++ b/src/analysis/content-int.h @@ -29,6 +29,12 @@ +/* Associe un ensemble d'attributs au contenu binaire. */ +typedef void (* set_content_attributes) (GBinContent *, GContentAttributes *); + +/* Fournit l'ensemble des attributs associés à un contenu. */ +typedef GContentAttributes * (* get_content_attributes) (const GBinContent *); + /* Donne l'origine d'un contenu binaire. */ typedef GBinContent * (* get_content_root_fc) (GBinContent *); @@ -86,6 +92,9 @@ struct _GBinContentIface { GTypeInterface base_iface; /* A laisser en premier */ + set_content_attributes set_attribs; /* Enregistrement d'attributs */ + get_content_attributes get_attribs; /* Fourniture d'attributs */ + get_content_root_fc get_root; /* Renvoie à l'origine */ describe_content_fc describe; /* Fournit une description */ |