diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2024-05-19 22:55:29 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2024-05-19 22:55:29 (GMT) |
commit | 79662ede83b35ad9d91b942218cf09e856e48b4c (patch) | |
tree | a2bd2c2e7070aeda9cf2eb97f867cf3ff1b7c92a /src/analysis/content.h | |
parent | 49ae908b6aa3c8c6bca2c79b0a68f587f51b600f (diff) |
Restore full featured Python bindings for binary contents.
Diffstat (limited to 'src/analysis/content.h')
-rw-r--r-- | src/analysis/content.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/analysis/content.h b/src/analysis/content.h index ee79a9c..ad50c02 100644 --- a/src/analysis/content.h +++ b/src/analysis/content.h @@ -29,9 +29,8 @@ #include <glib-object.h> -#include "cattribs.h" +//#include "cattribs.h" // FIXME #include "../arch/vmpa.h" -#include "../common/endianness.h" #include "../common/leb128.h" @@ -53,13 +52,13 @@ typedef struct _GBinContentClass GBinContentClass; /* Détermine le type d'un contenu binaire à parcourir. */ GType g_binary_content_get_type(void) G_GNUC_CONST; - +#if 0 // FIXME /* Associe un ensemble d'attributs au contenu binaire. */ void g_binary_content_set_attributes(GBinContent *, GContentAttributes *); /* Fournit l'ensemble des attributs associés à un contenu. */ GContentAttributes *g_binary_content_get_attributes(const GBinContent *); - +#endif /* Donne l'origine d'un contenu binaire. */ GBinContent *g_binary_content_get_root(GBinContent *); @@ -73,10 +72,10 @@ const gchar *g_binary_content_get_checksum(GBinContent *); phys_t g_binary_content_compute_size(const GBinContent *); /* Détermine la position initiale d'un contenu. */ -void g_binary_content_compute_start_pos(const GBinContent *, vmpa2t *); +bool g_binary_content_compute_start_pos(const GBinContent *, vmpa2t *); /* Détermine la position finale d'un contenu. */ -void g_binary_content_compute_end_pos(const GBinContent *, vmpa2t *); +bool g_binary_content_compute_end_pos(const GBinContent *, vmpa2t *); /* Avance la tête de lecture d'une certaine quantité de données. */ bool g_binary_content_seek(const GBinContent *, vmpa2t *, phys_t); |