chiark / gitweb /
strv: introduce strv_new_ap() call
[elogind.git] / strv.h
diff --git a/strv.h b/strv.h
index 9bdf287a2108b7ffcd8c6e55d4d7bfaf4aac4f1e..7ee9a95a8f5c68d35ebc46b0f9f389e9fe1d420c 100644 (file)
--- 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;