2 * Copyright (C) 2006-2009 Brian Aker
5 * Use and distribution licensed under the BSD license. See
6 * the COPYING file in the parent directory for full text.
8 * Summary: Change any of the possible callbacks.
13 #ifndef __LIBMEMCACHED_CALLBACK_H__
14 #define __LIBMEMCACHED_CALLBACK_H__
16 struct memcached_callback_st
{
17 memcached_execute_fn
*callback
;
19 uint32_t number_of_callback
;
27 memcached_return_t
memcached_callback_set(memcached_st
*ptr
,
28 const memcached_callback_t flag
,
31 void *memcached_callback_get(memcached_st
*ptr
,
32 const memcached_callback_t flag
,
33 memcached_return_t
*error
);
39 #endif /* __LIBMEMCACHED_CALLBACK_H__ */