summaryrefslogtreecommitdiff
path: root/mpq-misc.c
diff options
context:
space:
mode:
authorpixel <pixel>2007-07-06 16:22:15 +0000
committerpixel <pixel>2007-07-06 16:22:15 +0000
commit36fd1a3846fcb08abdf5dafcd6703586b51e369e (patch)
tree8d1601b798224bfa426c41d005f3adb2ac8ab9fe /mpq-misc.c
parent9e61ac4e3d435a530cdff0170975f7759c50b02d (diff)
Various progress.
Diffstat (limited to 'mpq-misc.c')
-rw-r--r--mpq-misc.c10
1 files changed, 10 insertions, 0 deletions
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);
+}