summaryrefslogtreecommitdiff
path: root/src/strv.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/strv.h')
-rw-r--r--src/strv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/strv.h b/src/strv.h
index 0d50b02f01..8cb35ef395 100644
--- a/src/strv.h
+++ b/src/strv.h
@@ -60,6 +60,9 @@ char **strv_env_delete(char **x, unsigned n_lists, ...);
char **strv_env_set(char **x, const char *p);
+char *strv_env_get_with_length(char **l, const char *name, size_t k);
+char *strv_env_get(char **x, const char *n);
+
#define STRV_FOREACH(s, l) \
for ((s) = (l); (s) && *(s); (s)++)