summaryrefslogtreecommitdiff
path: root/strv.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-02-14 22:38:30 +0100
committerLennart Poettering <lennart@poettering.net>2010-02-14 22:38:30 +0100
commit2e6c9e6bdee8ebc9d34095b6f542603a217498e0 (patch)
tree3b0231c24bc45119a2c206ae015da8af1d079558 /strv.h
parent8d49745c2be3385ff3c20f4c848abfe700b06435 (diff)
strv: introduce strv_env_merge() to merge environment arrays
Diffstat (limited to 'strv.h')
-rw-r--r--strv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/strv.h b/strv.h
index acaae9e7ea..9bdf287a21 100644
--- a/strv.h
+++ b/strv.h
@@ -49,6 +49,8 @@ char **strv_split_quoted(const char *s);
char *strv_join(char **l, const char *separator);
+char **strv_env_merge(char **x, ...) _sentinel;
+
#define STRV_FOREACH(s, l) \
for ((s) = (l); (s) && *(s); (s)++)