From 36fd1a3846fcb08abdf5dafcd6703586b51e369e Mon Sep 17 00:00:00 2001 From: pixel Date: Fri, 6 Jul 2007 16:22:15 +0000 Subject: Various progress. --- mpq-misc.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 mpq-misc.c (limited to 'mpq-misc.c') diff --git a/mpq-misc.c b/mpq-misc.c new file mode 100644 index 0000000..1e81659 --- /dev/null +++ b/mpq-misc.c @@ -0,0 +1,10 @@ +#include "mpq-misc.h" +#include "MPQCryptography.h" + +uint32_t mpqlib_hashA_filename(const char * str) { + return __mpqlib_hash_cstring(str, 1); +} + +uint32_t mpqlib_hashB_filename(const char * str) { + return __mpqlib_hash_cstring(str, 2); +} -- cgit v1.2.3