aboutsummaryrefslogtreecommitdiffstats
path: root/camel/md5-utils.h
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@aful.org>1999-09-06 19:32:54 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-09-06 19:32:54 +0800
commit8e70e42b1e00c9b04d1cfc24ccda38a7ff6f42a0 (patch)
tree273817cca365e14fbb596b1f6c8d65727e88e9e2 /camel/md5-utils.h
parenta35e5f993fa4538431234bb3fde2f4be2e2cd26f (diff)
downloadgsoc2013-evolution-8e70e42b1e00c9b04d1cfc24ccda38a7ff6f42a0.tar
gsoc2013-evolution-8e70e42b1e00c9b04d1cfc24ccda38a7ff6f42a0.tar.gz
gsoc2013-evolution-8e70e42b1e00c9b04d1cfc24ccda38a7ff6f42a0.tar.bz2
gsoc2013-evolution-8e70e42b1e00c9b04d1cfc24ccda38a7ff6f42a0.tar.lz
gsoc2013-evolution-8e70e42b1e00c9b04d1cfc24ccda38a7ff6f42a0.tar.xz
gsoc2013-evolution-8e70e42b1e00c9b04d1cfc24ccda38a7ff6f42a0.tar.zst
gsoc2013-evolution-8e70e42b1e00c9b04d1cfc24ccda38a7ff6f42a0.zip
new function : get file md5 signature. To be used in providers code.
1999-09-06 bertrand <Bertrand.Guiheneuf@aful.org> * camel/md5-utils.h: * camel/md5-utils.c: (md5_get_digest_from_file): new function : get file md5 signature. To be used in providers code. svn path=/trunk/; revision=1186
Diffstat (limited to 'camel/md5-utils.h')
-rw-r--r--camel/md5-utils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/camel/md5-utils.h b/camel/md5-utils.h
index 3c403e86d2..cb4768bbac 100644
--- a/camel/md5-utils.h
+++ b/camel/md5-utils.h
@@ -41,5 +41,9 @@ typedef struct {
void md5_get_digest (const gchar *buffer, gint buffer_size, guchar digest[16]);
void md5_get_digest_from_stream (CamelStream *stream, gint buffer_size, guchar digest[16]);
+/* use this onr when speed is needed */
+/* for use in provider code only */
+void md5_get_digest_from_file (gchar *filename, gint buffer_size, guchar digest[16]);
+
#endif /* MD5_UTILS_H */