diff options
Diffstat (limited to 'src/analysis/content-int.h')
-rw-r--r-- | src/analysis/content-int.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/analysis/content-int.h b/src/analysis/content-int.h index 4635047..7da78db 100644 --- a/src/analysis/content-int.h +++ b/src/analysis/content-int.h @@ -41,6 +41,9 @@ typedef void (* compute_checksum_fc) (GBinContent *, GChecksum *); /* Détermine le nombre d'octets lisibles. */ typedef phys_t (* compute_size_fc) (const GBinContent *); +/* Détermine la position finale d'un contenu. */ +typedef void (* compute_end_pos_fc) (const GBinContent *, vmpa2t *); + /* Avance la tête de lecture d'une certaine quantité de données. */ typedef bool (* seek_fc) (const GBinContent *, vmpa2t *, phys_t); @@ -84,6 +87,7 @@ struct _GBinContentIface compute_checksum_fc compute_checksum; /* Calcul de l'empreinte */ compute_size_fc compute_size; /* Calcul de la taille totale */ + compute_end_pos_fc compute_end_pos; /* Calcul de position finale */ seek_fc seek; /* Avancée de tête de lecture */ |