summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/mem-pool.h
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src/mem-pool.h')
-rw-r--r--libglusterfs/src/mem-pool.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libglusterfs/src/mem-pool.h b/libglusterfs/src/mem-pool.h
index 0b467bb2c..21ff4c801 100644
--- a/libglusterfs/src/mem-pool.h
+++ b/libglusterfs/src/mem-pool.h
@@ -26,6 +26,7 @@
#include <stdlib.h>
#include <inttypes.h>
#include <string.h>
+#include <stdarg.h>
#define MALLOC(size) malloc(size)
@@ -61,6 +62,9 @@ void *
__gf_realloc (void *ptr, size_t size);
int
+gf_vasprintf (char **string_ptr, const char *format, va_list arg);
+
+int
gf_asprintf (char **string_ptr, const char *format, ...);
#define GF_CALLOC(nmemb, size, type) __gf_calloc (nmemb, size, type)