summaryrefslogtreecommitdiff
path: root/src/strv.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-08 04:09:59 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-08 04:09:59 +0200
commitfab56fc541cebdbbc4cc273c3f0807eb7807b9fd (patch)
treeb0c6a377c3e087000ac66ce57515571ef94f779c /src/strv.h
parent1e3ad081efda42dd1cc737ce7e98be8889c78340 (diff)
execute: support minimal environment variable replacement when executing processes
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)++)