Rearranged some things and added the visibility.m4 macros. Started to lay the
[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 void libmemcached_free(memcached_st *ptr, void *mem);
18 void *libmemcached_malloc(memcached_st *ptr, const size_t size);
19 void *libmemcached_realloc(memcached_st *ptr, void *mem, const size_t size);
20 void *libmemcached_calloc(memcached_st *ptr, size_t nelem, size_t size);
21
22 #ifdef __cplusplus
23 }
24 #endif
25
26 #endif /* BUILDING_LIBMEMCACHED */
27 #endif /* LIBMEMCACHED_MEMCACHED_INTERNAL_H */