summaryrefslogtreecommitdiff
path: root/lib/lookup3.h
blob: ad45d2d048f0d5a4c9585aa6e7c48c4347ad088f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef WSJT_LOOKUP3_H_
#define WSJT_LOOKUP3_H_

#include <stddef.h>
#include <stdint.h>

#ifdef __cplusplus
extern "C" {
#endif

/* Return the full 32-bit Jenkins lookup3 hash for a byte sequence. */
uint32_t wsjt_hashlittle(const void *key, size_t length, uint32_t initval);

#ifdef __cplusplus
}
#endif

#endif