aboutsummaryrefslogtreecommitdiff
path: root/common/md5.h
diff options
context:
space:
mode:
authorEugene Sandulenko2004-12-22 13:34:28 +0000
committerEugene Sandulenko2004-12-22 13:34:28 +0000
commit7606a53f09a06f33fb5953c55bf3b488d6f5119a (patch)
tree6a3da91b956e20d9d519b6971831b255c2bc7f80 /common/md5.h
parent2fb8a8e45369b000b9f36d2433425ca48f6d9d13 (diff)
downloadscummvm-rg350-7606a53f09a06f33fb5953c55bf3b488d6f5119a.tar.gz
scummvm-rg350-7606a53f09a06f33fb5953c55bf3b488d6f5119a.tar.bz2
scummvm-rg350-7606a53f09a06f33fb5953c55bf3b488d6f5119a.zip
Now it is possible to count MD5 only for specified amount of bytes from file.
It is useful for MD5'ing hunge files. svn-id: r16259
Diffstat (limited to 'common/md5.h')
-rw-r--r--common/md5.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/md5.h b/common/md5.h
index fe83ebda84..4fc453f086 100644
--- a/common/md5.h
+++ b/common/md5.h
@@ -35,6 +35,6 @@ void md5_starts( md5_context *ctx );
void md5_update( md5_context *ctx, const uint8 *input, uint32 length );
void md5_finish( md5_context *ctx, uint8 digest[16] );
-bool md5_file( const char *name, uint8 digest[16], const char *directory = NULL );
+bool md5_file( const char *name, uint8 digest[16], const char *directory = NULL, uint32 length = 0 );
#endif