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.
12 #ifndef __LIBMEMCACHED_CALLBACK_H__
13 #define __LIBMEMCACHED_CALLBACK_H__
15 struct memcached_callback_st
{
16 memcached_execute_fn
*callback
;
18 uint32_t number_of_callback
;
26 memcached_return_t
memcached_callback_set(memcached_st
*ptr
,
27 const memcached_callback_t flag
,
30 void *memcached_callback_get(memcached_st
*ptr
,
31 const memcached_callback_t flag
,
32 memcached_return_t
*error
);
38 #endif /* __LIBMEMCACHED_CALLBACK_H__ */