summaryrefslogtreecommitdiff
path: root/src/shared/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-04-22 14:48:46 +0200
committerLennart Poettering <lennart@poettering.net>2012-04-22 15:00:42 +0200
commitab94af9201496ea3aa59bbf2a01eb750fbd1c08a (patch)
treeb62a3fcbea3779855a964e37e1415c75ad1c8816 /src/shared/util.h
parent144f0fc0c8a5e2f6b72179e2b5fb992474da24ad (diff)
util: unify getenv() logic for other PID
Diffstat (limited to 'src/shared/util.h')
-rw-r--r--src/shared/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/util.h b/src/shared/util.h
index a26c1d9d06..17ffd19f55 100644
--- a/src/shared/util.h
+++ b/src/shared/util.h
@@ -540,4 +540,6 @@ int fork_agent(pid_t *pid, const int except[], unsigned n_except, const char *pa
int setrlimit_closest(int resource, const struct rlimit *rlim);
+int getenv_for_pid(pid_t pid, const char *field, char **_value);
+
#endif