aboutsummaryrefslogtreecommitdiff
path: root/common/md5.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/md5.h')
-rw-r--r--common/md5.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/common/md5.h b/common/md5.h
index ffed7d7524..1fb937ae9b 100644
--- a/common/md5.h
+++ b/common/md5.h
@@ -29,22 +29,16 @@
namespace Common {
-class FSNode;
class ReadStream;
-bool md5_file(const char *name, uint8 digest[16], uint32 length = 0);
-bool md5_file(const FSNode &file, uint8 digest[16], uint32 length = 0);
bool md5_file(ReadStream &stream, uint8 digest[16], uint32 length = 0);
-// The following two methods work similar to the above two, but
-// instead of computing the binary MD5 digest, they produce
+// The following method work similar to the above one, but
+// instead of computing the binary MD5 digest, it produces
// a human readable lowercase hexstring representing the digest.
// The md5str parameter must point to a buffer of 32+1 chars.
-bool md5_file_string(const char *name, char *md5str, uint32 length = 0);
-bool md5_file_string(const FSNode &file, char *md5str, uint32 length = 0);
bool md5_file_string(ReadStream &stream, char *md5str, uint32 length = 0);
-
} // End of namespace Common
#endif