summaryrefslogtreecommitdiff
path: root/strv.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-04-10 17:43:12 +0200
committerLennart Poettering <lennart@poettering.net>2010-04-10 18:00:33 +0200
commit257eca1a9c2d0ef110c21e74952e9723d778e267 (patch)
tree4f35626a2d5be2bacef866a04b3a2d0b38354bd1 /strv.h
parentdad08730c43807c5b9f9aa3f164c31997e66eea3 (diff)
strv: introduce strv_new_ap() call
Diffstat (limited to 'strv.h')
-rw-r--r--strv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/strv.h b/strv.h
index 9bdf287a21..7ee9a95a8f 100644
--- a/strv.h
+++ b/strv.h
@@ -39,6 +39,7 @@ char **strv_uniq(char **l);
#define strv_contains(l, s) (!!strv_find((l), (s)))
char **strv_new(const char *x, ...) _sentinel;
+char **strv_new_ap(const char *x, va_list ap);
static inline bool strv_isempty(char **l) {
return !l || !*l;