aboutsummaryrefslogtreecommitdiffstats
path: root/camel/md5-utils.h
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@aful.org>1999-09-06 18:37:14 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-09-06 18:37:14 +0800
commita35e5f993fa4538431234bb3fde2f4be2e2cd26f (patch)
tree39c3cae57fb8e8184793f03d702bae9ce0222e1c /camel/md5-utils.h
parent66c1dd5fa4bd8cfaa94b83c62783ec98c7a48d93 (diff)
downloadgsoc2013-evolution-a35e5f993fa4538431234bb3fde2f4be2e2cd26f.tar.gz
gsoc2013-evolution-a35e5f993fa4538431234bb3fde2f4be2e2cd26f.tar.zst
gsoc2013-evolution-a35e5f993fa4538431234bb3fde2f4be2e2cd26f.zip
new methods.
1999-09-06 bertrand <Bertrand.Guiheneuf@aful.org> * camel/md5-utils.h: * camel/md5-utils.c: (md5_get_digest_from_stream): new methods. svn path=/trunk/; revision=1185
Diffstat (limited to 'camel/md5-utils.h')
-rw-r--r--camel/md5-utils.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/camel/md5-utils.h b/camel/md5-utils.h
index a6047644ef..3c403e86d2 100644
--- a/camel/md5-utils.h
+++ b/camel/md5-utils.h
@@ -27,7 +27,7 @@
#define MD5_UTILS_H
#include <glib.h>
-
+#include "camel-stream.h"
typedef struct {
guint32 buf[4];
@@ -38,8 +38,8 @@ typedef struct {
} MD5Context ;
-int md5_file (const gchar *fn, guchar *digest);
-int md5_bin_file (const gchar *fn, guchar *bindigest);
+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]);
#endif /* MD5_UTILS_H */