#include "jenkins_hash.h"
#include "murmur3_hash.h"
hash_func hash;
int hash_init(enum hashfunc_type type) {
switch(type) {
case JENKINS_HASH:
#define HASH_H
typedef uint32_t (*hash_func)(const void *key, size_t length);
extern hash_func hash;
enum hashfunc_type {
JENKINS_HASH=0, MURMUR3_HASH
-