]> git.bts.cx Git - benzene.git/blob - src/bz/types/identifier.c
Initial version
[benzene.git] / src / bz / types / identifier.c
1 #include <bz/types/identifier_internal.h>
2
3 #include <crc.h>
4 #include <string.h>
5
6 BZIdentifierHash bzIdentifierHashFromIdentifier(BZIdentifier identifier) {
7 BZIdentifierHash hash = crc32buf(identifier, strlen(identifier));
8 return hash;
9 }