]> git.saurik.com Git - redis.git/blobdiff - src/zmalloc.h
MIGRATE now let the client distinguish I/O errors and timeouts from other erros.
[redis.git] / src / zmalloc.h
index 49792795f8647551588649caf269e12fec458146..8079fb5319a0e568b8d64e0bc44c3c5117e3614b 100644 (file)
@@ -75,8 +75,10 @@ size_t zmalloc_used_memory(void);
 void zmalloc_enable_thread_safeness(void);
 float zmalloc_get_fragmentation_ratio(void);
 size_t zmalloc_get_rss(void);
 void zmalloc_enable_thread_safeness(void);
 float zmalloc_get_fragmentation_ratio(void);
 size_t zmalloc_get_rss(void);
-size_t zmalloc_allocations_for_size(size_t size);
+void zlibc_free(void *ptr);
 
 
-#define ZMALLOC_MAX_ALLOC_STAT 256
+#ifndef HAVE_MALLOC_SIZE
+size_t zmalloc_size(void *ptr);
+#endif
 
 #endif /* __ZMALLOC_H */
 
 #endif /* __ZMALLOC_H */