diff options
author | Csaba Henk <csaba@gluster.com> | 2010-10-02 07:30:38 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2010-10-02 06:30:18 -0700 |
commit | 067d0e476abe42f1e290039cb903928080e90d8d (patch) | |
tree | 2dfa9c04911ddedf283c5e4fac9ff9c41fb28ee6 /libglusterfs/src/mem-pool.h | |
parent | 1cc15f9b0057cd6c8843c8b9cbb36c02d334ec6f (diff) |
implemented graph printing
Signed-off-by: Csaba Henk <csaba@gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
BUG: 1750 (clean up volgen)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1750
Diffstat (limited to 'libglusterfs/src/mem-pool.h')
-rw-r--r-- | libglusterfs/src/mem-pool.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libglusterfs/src/mem-pool.h b/libglusterfs/src/mem-pool.h index 0b467bb2cdb..21ff4c801c3 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) |