X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Fhash.c;h=dbdcc7ded0f13f122ac42c96ec095092e7ce5b49;hb=7da7d839bffc2b41ea532c70dbe386fb742e714d;hp=392155c02bc3b22213256e393b4cf7333ece9f18;hpb=dac48f2dbe34915755f8f4f7f88419f47dc9e27f;p=m6w6%2Flibmemcached diff --git a/libmemcached/hash.c b/libmemcached/hash.c index 392155c0..dbdcc7de 100644 --- a/libmemcached/hash.c +++ b/libmemcached/hash.c @@ -1,3 +1,14 @@ +/* LibMemcached + * Copyright (C) 2006-2010 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. + * + * Summary: + * + */ + #include "common.h" @@ -107,3 +118,8 @@ uint32_t memcached_generate_hash(memcached_st *ptr, const char *key, size_t key_ return dispatch_host(ptr, hash); } + +hashkit_st *memcached_get_hashkit(memcached_st *ptr) +{ + return &ptr->hashkit; +}