X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libhashkit%2Falgorithm.cc;h=3eb28d62fc1c7a0f91867a61d62e9b9f2bd18ec6;hb=330fec7545537270d974f4f2d9cfdc936273d895;hp=015370fd4dba62cb8e7f6143aed1519b5bd430b7;hpb=6f88ba36f93b080d1d2c592ee8220e633ffa63fb;p=awesomized%2Flibmemcached diff --git a/libhashkit/algorithm.cc b/libhashkit/algorithm.cc index 015370fd..3eb28d62 100644 --- a/libhashkit/algorithm.cc +++ b/libhashkit/algorithm.cc @@ -2,7 +2,7 @@ * * HashKit library * - * Copyright (C) 2006-2011 Data Differential, http://datadifferential.com/ + * Copyright (C) 2006-2012 Data Differential, http://datadifferential.com/ * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are @@ -34,7 +34,7 @@ * */ -#include +#include "libhashkit/common.h" uint32_t libhashkit_one_at_a_time(const char *key, size_t key_length) { @@ -71,6 +71,11 @@ uint32_t libhashkit_hsieh(const char *key, size_t key_length) return hashkit_hsieh(key, key_length, NULL); } +uint32_t libhashkit_murmur3(const char *key, size_t key_length) +{ + return hashkit_murmur3(key, key_length, NULL); +} + uint32_t libhashkit_murmur(const char *key, size_t key_length) { return hashkit_murmur(key, key_length, NULL);