summaryrefslogtreecommitdiffstats
path: root/include/strv.h
diff options
context:
space:
mode:
authorKarel Zak2015-10-01 14:43:05 +0200
committerKarel Zak2015-10-01 14:43:05 +0200
commitde8d3863c8a8dc7120a384353a0031666065ad8a (patch)
tree758619c97518ecbd7a2e49c76bf08fc78fb0487f /include/strv.h
parentlibuuid: fix buffer overflow with long paths (diff)
downloadkernel-qcow2-util-linux-de8d3863c8a8dc7120a384353a0031666065ad8a.tar.gz
kernel-qcow2-util-linux-de8d3863c8a8dc7120a384353a0031666065ad8a.tar.xz
kernel-qcow2-util-linux-de8d3863c8a8dc7120a384353a0031666065ad8a.zip
lib/strv: add strv_extendv()
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include/strv.h')
-rw-r--r--include/strv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/strv.h b/include/strv.h
index 52862989a..260ad12d5 100644
--- a/include/strv.h
+++ b/include/strv.h
@@ -13,6 +13,7 @@ unsigned strv_length(char * const *l);
int strv_extend_strv(char ***a, char **b);
int strv_extend_strv_concat(char ***a, char **b, const char *suffix);
int strv_extend(char ***l, const char *value);
+int strv_extendv(char ***l, const char *format, va_list ap);
int strv_extendf(char ***l, const char *format, ...)
__attribute__ ((__format__ (__printf__, 2, 0)));
int strv_push(char ***l, char *value);