summaryrefslogtreecommitdiff
path: root/mpq-misc.c
blob: 1e81659b664447b626eb572c0ac539498d70f205 (plain)
1
2
3
4
5
6
7
8
9
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);
}