ICC fix
[m6w6/libmemcached] / libmemcached / callback.h
1 /* LibMemcached
2 * Copyright (C) 2006-2009 Brian Aker
3 * All rights reserved.
4 *
5 * Use and distribution licensed under the BSD license. See
6 * the COPYING file in the parent directory for full text.
7 *
8 * Summary: Change any of the possible callbacks.
9 *
10 */
11
12 #ifndef __MEMCACHED_CALLBACK_H__
13 #define __MEMCACHED_CALLBACK_H__
14
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18
19 LIBMEMCACHED_API
20 memcached_return_t memcached_callback_set(memcached_st *ptr,
21 const memcached_callback_t flag,
22 void *data);
23 LIBMEMCACHED_API
24 void *memcached_callback_get(memcached_st *ptr,
25 const memcached_callback_t flag,
26 memcached_return_t *error);
27
28 #ifdef __cplusplus
29 }
30 #endif
31
32 #endif /* __MEMCACHED_CALLBACK_H__ */