Set SASL errors correctly.
[m6w6/libmemcached] / libmemcached-1.0 / allocators.h
index 6e4455f0667464bad548564d5b07f3c249043fac..86f05a06a9a81ac421b6d41896a764a695919443 100644 (file)
 
 #pragma once
 
-struct memcached_allocator_t {
-  memcached_calloc_fn calloc;
-  memcached_free_fn free;
-  memcached_malloc_fn malloc;
-  memcached_realloc_fn realloc;
-  void *context;
-};
-
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -67,21 +59,6 @@ void memcached_get_memory_allocators(const memcached_st *ptr,
 LIBMEMCACHED_API
 void *memcached_get_memory_allocators_context(const memcached_st *ptr);
 
-LIBMEMCACHED_LOCAL
-void _libmemcached_free(const memcached_st *ptr, void *mem, void *context);
-
-LIBMEMCACHED_LOCAL
-void *_libmemcached_malloc(const memcached_st *ptr, const size_t size, void *context);
-
-LIBMEMCACHED_LOCAL
-void *_libmemcached_realloc(const memcached_st *ptr, void *mem, const size_t size, void *context);
-
-LIBMEMCACHED_LOCAL
-void *_libmemcached_calloc(const memcached_st *ptr, size_t nelem, size_t size, void *context);
-
-LIBMEMCACHED_LOCAL
-struct memcached_allocator_t memcached_allocators_return_default(void);
-
 #ifdef __cplusplus
 }
 #endif