Add support for murmur3
[awesomized/libmemcached] / libhashkit / algorithm.cc
index 015370fd4dba62cb8e7f6143aed1519b5bd430b7..d6f2daf19e4a0e99039c41ed7b6c6ef992a923a4 100644 (file)
@@ -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
@@ -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);