Merged with trond's header file cleanup branch.
[m6w6/libmemcached] / libmemcached / memcached_behavior.h
1 /*
2 * Summary: Behavior functions for libmemcached
3 *
4 * Copy: See Copyright for the status of this software.
5 *
6 * Author: Trond Norbye
7 */
8
9 #ifndef LIBMEMCACHED_MEMCACHED_BEHAVIOR_H
10 #define LIBMEMCACHED_MEMCACHED_BEHAVIOR_H
11
12 #ifndef LIBMEMCACHED_MEMCACHED_H
13 #error "Please include <libmemcached/memcached.h> instead"
14 #endif
15
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19
20 LIBMEMCACHED_API
21 memcached_return memcached_behavior_set(memcached_st *ptr, memcached_behavior flag, uint64_t data);
22 LIBMEMCACHED_API
23 uint64_t memcached_behavior_get(memcached_st *ptr, memcached_behavior flag);
24
25 #ifdef __cplusplus
26 }
27 #endif
28
29 #endif /* LIBMEMCACHED_MEMCACHED_BEHAVIOR_H */