summaryrefslogtreecommitdiff
path: root/src/analysis/content-int.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis/content-int.h')
-rw-r--r--src/analysis/content-int.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/analysis/content-int.h b/src/analysis/content-int.h
index 49d5269..f3d698e 100644
--- a/src/analysis/content-int.h
+++ b/src/analysis/content-int.h
@@ -44,6 +44,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 initiale d'un contenu. */
+typedef void (* compute_start_pos_fc) (const GBinContent *, vmpa2t *);
+
/* Détermine la position finale d'un contenu. */
typedef void (* compute_end_pos_fc) (const GBinContent *, vmpa2t *);
@@ -92,6 +95,7 @@ struct _GBinContentIface
compute_checksum_fc compute_checksum; /* Calcul de l'empreinte */
compute_size_fc compute_size; /* Calcul de la taille totale */
+ compute_start_pos_fc compute_start_pos; /* Calcul de position initiale */
compute_end_pos_fc compute_end_pos; /* Calcul de position finale */
seek_fc seek; /* Avancée de tête de lecture */