X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=clients%2Fexecute.c;h=daede9ec583edb4101a3cca5fd5db4cb52b0ff6b;hb=9a2e569b8d1b7bd4adf5aae7b73f3072fe2bfd7d;hp=3944d449b58b06c64ecc52d1ebeb4407b6c5c59b;hpb=b4de8d3fd063b9017797dd9809ab3acb8a537606;p=awesomized%2Flibmemcached diff --git a/clients/execute.c b/clients/execute.c index 3944d449..daede9ec 100644 --- a/clients/execute.c +++ b/clients/execute.c @@ -1,3 +1,14 @@ +/* LibMemcached + * Copyright (C) 2006-2009 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: + * + */ + /* Execute a memcached_set() a set of pairs. Return the number of rows set. @@ -66,9 +77,9 @@ unsigned int execute_get(memcached_st *memc, pairs_st *pairs, unsigned int numbe /** * Callback function to count the number of results */ -static memcached_return_t callback_counter(memcached_st *ptr, - memcached_result_st *result, - void *context) +static memcached_return_t callback_counter(const memcached_st *ptr, + memcached_result_st *result, + void *context) { (void)ptr; (void)result;