summaryrefslogtreecommitdiff
path: root/src/basic/env-util.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-10-27 21:15:59 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-11-05 18:54:27 -0400
commit54ac349445341503b1651c17b21495039d818a82 (patch)
tree7e4c119befbc46043b383db48e15c5578aad5784 /src/basic/env-util.h
parent035fe294b3fdc054151eacc5a75909f2c479300c (diff)
core/load-fragment: modify existing environment instead of copying strv over and over
Diffstat (limited to 'src/basic/env-util.h')
-rw-r--r--src/basic/env-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/env-util.h b/src/basic/env-util.h
index b1fef704c2..8cb0fc2131 100644
--- a/src/basic/env-util.h
+++ b/src/basic/env-util.h
@@ -44,6 +44,7 @@ char **strv_env_delete(char **x, unsigned n_lists, ...); /* New copy */
char **strv_env_set(char **x, const char *p); /* New copy ... */
char **strv_env_unset(char **l, const char *p); /* In place ... */
char **strv_env_unset_many(char **l, ...) _sentinel_;
+int strv_env_replace(char ***l, char *p); /* In place ... */
char *strv_env_get_n(char **l, const char *name, size_t k) _pure_;
char *strv_env_get(char **x, const char *n) _pure_;