From 540065ba490339ce173552751953485fa32ed0bf Mon Sep 17 00:00:00 2001 From: Anand Avati Date: Sat, 29 Mar 2014 04:54:16 -0700 Subject: strfd: introduce strvprintf() API variant of strprintf() which accepts va_list as parameter instead of variable args (...) Change-Id: I205acf3aaf5440890d5f9cad693c6a358a5d9218 BUG: 1089216 Signed-off-by: Anand Avati Reviewed-on: http://review.gluster.org/7539 Tested-by: Gluster Build System Reviewed-by: Pranith Kumar Karampuri --- libglusterfs/src/strfd.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libglusterfs/src/strfd.h') diff --git a/libglusterfs/src/strfd.h b/libglusterfs/src/strfd.h index e386c8432e4..a9e6eaa87bc 100644 --- a/libglusterfs/src/strfd.h +++ b/libglusterfs/src/strfd.h @@ -23,6 +23,8 @@ strfd_t *strfd_open(); int strprintf(strfd_t *strfd, const char *fmt, ...) __attribute__ ((__format__ (__printf__, 2, 3))); +int strvprintf(strfd_t *strfd, const char *fmt, va_list ap); + int strfd_close(strfd_t *strfd); #endif -- cgit