Merge Trond.
[m6w6/libmemcached] / libmemcached / memcached_internal.h
1 /*
2 * Summary: Internal functions used by the library. Not for public use!
3 * Copy: See Copyright for the status of this software.
4 *
5 * Author: Trond Norbye
6 */
7
8 #ifndef LIBMEMCACHED_MEMCACHED_INTERNAL_H
9 #define LIBMEMCACHED_MEMCACHED_INTERNAL_H
10
11 #if defined(BUILDING_LIBMEMCACHED)
12
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16
17 LIBMEMCACHED_LOCAL
18 void libmemcached_free(memcached_st *ptr, void *mem);
19 LIBMEMCACHED_LOCAL
20 void *libmemcached_malloc(memcached_st *ptr, const size_t size);
21 LIBMEMCACHED_LOCAL
22 void *libmemcached_realloc(memcached_st *ptr, void *mem, const size_t size);
23 LIBMEMCACHED_LOCAL
24 void *libmemcached_calloc(memcached_st *ptr, size_t nelem, size_t size);
25
26 #ifdef __cplusplus
27 }
28 #endif
29
30 #endif /* BUILDING_LIBMEMCACHED */
31 #endif /* LIBMEMCACHED_MEMCACHED_INTERNAL_H */