aboutsummaryrefslogtreecommitdiff
path: root/common/md5.h
diff options
context:
space:
mode:
authorJohannes Schickel2006-07-22 14:59:44 +0000
committerJohannes Schickel2006-07-22 14:59:44 +0000
commit4ae5cef4913ff8b581acd5902e2912352133fb35 (patch)
treeacad74fd335f4b302ea21236037749e32a573e4e /common/md5.h
parentcfd9977425d877870e0c8e800807c5eceea629e6 (diff)
downloadscummvm-rg350-4ae5cef4913ff8b581acd5902e2912352133fb35.tar.gz
scummvm-rg350-4ae5cef4913ff8b581acd5902e2912352133fb35.tar.bz2
scummvm-rg350-4ae5cef4913ff8b581acd5902e2912352133fb35.zip
- let md5_file accept a FilesystemNode too
- changes some engine detectors to use it svn-id: r23559
Diffstat (limited to 'common/md5.h')
-rw-r--r--common/md5.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/md5.h b/common/md5.h
index b8e4a95464..b4b852b5c6 100644
--- a/common/md5.h
+++ b/common/md5.h
@@ -23,6 +23,7 @@
#define COMMON_MD5_H
#include "common/scummsys.h"
+#include "common/fs.h"
namespace Common {
@@ -37,6 +38,7 @@ 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], uint32 length = 0);
+bool md5_file(const FilesystemNode &file, uint8 digest[16], uint32 length = 0);
} // End of namespace Common