c++: fix C++11 compatibility
[awesomized/libmemcached] / libhashkit-1.0 / types.h
index e0f1f1387ffc2097723c58e1a438ca4e61ad68b6..37c33eeb1c69dd9699e186759c28bc50aa88a39f 100644 (file)
@@ -1,9 +1,9 @@
 /*  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
  * 
- *  HashKit
+ *  HashKit library
  *
- *  Copyright (C) 2011 Data Differential, http://datadifferential.com/
- *  Copyright (C) 2009 Brian Aker All rights reserved.
+ *  Copyright (C) 2011-2012 Data Differential, http://datadifferential.com/
+ *  Copyright (C) 2009-2010 Brian Aker All rights reserved.
  *
  *  Redistribution and use in source and binary forms, with or without
  *  modification, are permitted provided that the following conditions are
@@ -68,6 +68,7 @@ typedef enum {
   HASHKIT_HASH_HSIEH,
   HASHKIT_HASH_MURMUR,
   HASHKIT_HASH_JENKINS,
+  HASHKIT_HASH_MURMUR3,
   HASHKIT_HASH_CUSTOM,
   HASHKIT_HASH_MAX
 } hashkit_hash_algorithm_t;
@@ -88,6 +89,7 @@ extern "C" {
 #endif
 
 typedef struct hashkit_st hashkit_st;
+typedef struct hashkit_string_st hashkit_string_st;
 
 typedef uint32_t (*hashkit_hash_fn)(const char *key, size_t key_length, void *context);