summaryrefslogtreecommitdiff
path: root/src/shared/env-util.h
diff options
context:
space:
mode:
authorRonny Chevalier <chevalier.ronny@gmail.com>2015-04-11 00:25:43 +0200
committerRonny Chevalier <chevalier.ronny@gmail.com>2015-04-11 00:34:03 +0200
commit3c8000956a66203de381135d417db8ddc2e127e2 (patch)
tree70dc330f565c5d5084bb5689df977ab0e3970509 /src/shared/env-util.h
parent288a74cce597f81d3ba01d8a5ca7d2ba5b654b7e (diff)
shared: move replace_env* from util to env-util
Diffstat (limited to 'src/shared/env-util.h')
-rw-r--r--src/shared/env-util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/env-util.h b/src/shared/env-util.h
index 9de3621714..803aa61cad 100644
--- a/src/shared/env-util.h
+++ b/src/shared/env-util.h
@@ -29,6 +29,9 @@ bool env_name_is_valid(const char *e);
bool env_value_is_valid(const char *e);
bool env_assignment_is_valid(const char *e);
+char *replace_env(const char *format, char **env);
+char **replace_env_argv(char **argv, char **env);
+
bool strv_env_is_valid(char **e);
#define strv_env_clean(l) strv_env_clean_with_callback(l, NULL, NULL)
char **strv_env_clean_with_callback(char **l, void (*invalid_callback)(const char *p, void *userdata), void *userdata);