summaryrefslogtreecommitdiff
path: root/src/util.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/util.h
parent1e3ad081efda42dd1cc737ce7e98be8889c78340 (diff)
execute: support minimal environment variable replacement when executing processes
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index ff79583d80..b29f890b5f 100644
--- a/src/util.h
+++ b/src/util.h
@@ -183,6 +183,10 @@ int write_one_line_file(const char *fn, const char *line);
int read_one_line_file(const char *fn, char **line);
char *strappend(const char *s, const char *suffix);
+char *strnappend(const char *s, const char *suffix, size_t length);
+
+char *replace_env(const char *format, char **env);
+char **replace_env_argv(char **argv, char **env);
int readlink_malloc(const char *p, char **r);
int readlink_and_make_absolute(const char *p, char **r);