summaryrefslogtreecommitdiff
path: root/mpq-misc.c
diff options
context:
space:
mode:
authorpixel <pixel>2007-07-10 16:24:40 +0000
committerpixel <pixel>2007-07-10 16:24:40 +0000
commit2b81447acc91685dbfb6419282a0f53b6ac3eaa0 (patch)
treea3977ef45afdcc9ac1d3a968af6a33819dcf3af9 /mpq-misc.c
parent126a396e4af6a3d9e92471cb8e82993853524e46 (diff)
Adding the true hash table support.
Diffstat (limited to 'mpq-misc.c')
-rw-r--r--mpq-misc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mpq-misc.c b/mpq-misc.c
index 1e81659..9e1ff5d 100644
--- a/mpq-misc.c
+++ b/mpq-misc.c
@@ -1,6 +1,10 @@
#include "mpq-misc.h"
#include "MPQCryptography.h"
+uint32_t mpqlib_hash_filename(const char * str) {
+ return __mpqlib_hash_cstring(str, 0);
+}
+
uint32_t mpqlib_hashA_filename(const char * str) {
return __mpqlib_hash_cstring(str, 1);
}