summaryrefslogtreecommitdiff
path: root/mpq-misc.c
diff options
context:
space:
mode:
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);
+}