Merge
[m6w6/libmemcached] / libhashkit / types.h
index b3ea7346b28dafe2a84ef15aec9a5a67ed0aab8f..8d39696227d61f1ca97f8acfe8236e60fc50d178 100644 (file)
@@ -11,6 +11,7 @@
 #define HASHKIT_TYPES_H
 
 #ifdef __cplusplus
+
 extern "C" {
 #endif
 
@@ -32,6 +33,7 @@ typedef enum {
   HASHKIT_HASH_HSIEH,
   HASHKIT_HASH_MURMUR,
   HASHKIT_HASH_JENKINS,
+  HASHKIT_HASH_CUSTOM,
   HASHKIT_HASH_MAX
 } hashkit_hash_algorithm_t;
 
@@ -48,6 +50,7 @@ typedef enum
 
 
 typedef struct hashkit_st hashkit_st;
+
 typedef uint32_t (*hashkit_hash_fn)(const char *key, size_t key_length, void *context);
 
 #ifdef __cplusplus