public
Description: This is where my memcached work lives before svn munges the changes.
Homepage: http://www.danga.com/memcached/
Clone URL: git://github.com/dustin/memcached.git
Cosimo Streppone (author)
Thu Jun 19 08:29:10 -0700 2008
dustin (committer)
Thu Jun 19 08:29:10 -0700 2008
memcached / assoc.h
100644 8 lines (7 sloc) 0.296 kb
1
2
3
4
5
6
7
8
/* associative array */
void assoc_init(void);
item *assoc_find(const char *key, const size_t nkey);
int assoc_insert(item *item);
void assoc_delete(const char *key, const size_t nkey);
void do_assoc_move_next_bucket(void);
uint32_t hash( const void *key, size_t length, const uint32_t initval);