diff options
Diffstat (limited to 'src/analysis/content-int.h')
-rw-r--r-- | src/analysis/content-int.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/analysis/content-int.h b/src/analysis/content-int.h index d9f9ef9..24cea81 100644 --- a/src/analysis/content-int.h +++ b/src/analysis/content-int.h @@ -35,8 +35,8 @@ typedef const char * (* describe_content_fc) (const GBinContent *, bool); /* Ecrit une sauvegarde de contenu binaire dans un fichier XML. */ typedef bool (* save_content_fc) (const GBinContent *, xmlDocPtr, xmlXPathContextPtr, const char *, const char *); -/* Fournit une empreinte unique (SHA256) pour les données. */ -typedef const gchar * (* get_checksum_fc) (GBinContent *); +/* Calcule une empreinte unique (SHA256) pour les données. */ +typedef void (* compute_checksum_fc) (GBinContent *, GChecksum *); /* Détermine le nombre d'octets lisibles. */ typedef phys_t (* compute_size_fc) (const GBinContent *); @@ -78,7 +78,7 @@ struct _GBinContentIface save_content_fc save; /* Sauvegarde du contenu */ - get_checksum_fc get_checksum; /* Calcul de l'empreinte */ + compute_checksum_fc compute_checksum; /* Calcul de l'empreinte */ compute_size_fc compute_size; /* Calcul de la taille totale */ |