projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
We didn't catch client_Error.
[m6w6/libmemcached]
/
libhashkit
/
types.h
diff --git
a/libhashkit/types.h
b/libhashkit/types.h
index b2e5f798d0827fa3a97ef272975ea287de859e5e..8d39696227d61f1ca97f8acfe8236e60fc50d178 100644
(file)
--- a/
libhashkit/types.h
+++ b/
libhashkit/types.h
@@
-11,6
+11,7
@@
#define HASHKIT_TYPES_H
#ifdef __cplusplus
#define HASHKIT_TYPES_H
#ifdef __cplusplus
+
extern "C" {
#endif
extern "C" {
#endif
@@
-49,6
+50,7
@@
typedef enum
typedef struct hashkit_st hashkit_st;
typedef struct hashkit_st hashkit_st;
+
typedef uint32_t (*hashkit_hash_fn)(const char *key, size_t key_length, void *context);
#ifdef __cplusplus
typedef uint32_t (*hashkit_hash_fn)(const char *key, size_t key_length, void *context);
#ifdef __cplusplus