diff options
author | Trond Norbye <Trond.Norbye@sun.com> | 2009-03-02 10:15:34 +0100 |
---|---|---|
committer | Trond Norbye <Trond.Norbye@sun.com> | 2009-03-02 10:15:34 +0100 |
commit | 1a070652ba97045c73b5e0f5237d35ea017bb04b (patch) | |
tree | ce5589db85e059b73613fcaa50f08dfb2773a4ba /hash.h | |
parent | d2b97e6171e96bd9674d4f1536e2a41c91d8fd19 (diff) | |
download | memcached-1a070652ba97045c73b5e0f5237d35ea017bb04b.tar.gz |
Refactor: moved the hash function from assoc.c to hash.c
Diffstat (limited to 'hash.h')
-rw-r--r-- | hash.h | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -0,0 +1,15 @@ +#ifndef HASH_H +#define HASH_H + +#ifdef __cplusplus +extern "C" { +#endif + +uint32_t hash(const void *key, size_t length, const uint32_t initval); + +#ifdef __cplusplus +} +#endif + +#endif /* HASH_H */ + |