summaryrefslogtreecommitdiff
path: root/src/glibext/gbincontent.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2015-02-17 21:27:52 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2015-02-17 21:27:52 (GMT)
commit3ba750662837541a5df510046c0a3fc521cca785 (patch)
tree711f412439e4b0d154207bbcbceeafce5f1b0864 /src/glibext/gbincontent.h
parent5c6680287b4b6ba38cc04e6d7cb80c87cb9e256d (diff)
Defined, computed and stored the checksum in the binary content manager.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@474 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/glibext/gbincontent.h')
-rw-r--r--src/glibext/gbincontent.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glibext/gbincontent.h b/src/glibext/gbincontent.h
index e2f5933..246d626 100644
--- a/src/glibext/gbincontent.h
+++ b/src/glibext/gbincontent.h
@@ -56,6 +56,8 @@ GType g_binary_content_get_type(void);
/* Charge en mémoire le contenu d'un fichier donné. */
GBinContent *g_binary_content_new_from_file(const char *);
+/* Fournit une empreinte unique (SHA256) pour les données. */
+const gchar *g_binary_content_get_cheksum(GBinContent *);
/* Fournit une portion des données représentées. */