summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/core-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-09-02 00:34:27 +0200
committerLennart Poettering <lennart@poettering.net>2009-09-02 00:34:27 +0200
commit5f929963d12c70193a923d620177125d8608f18a (patch)
tree888d1db957b78a900448db291e2f878d239e4726 /src/pulsecore/core-util.h
parent45513a2077719850353a9eb34f32ac4548c0dbea (diff)
core-util: add api for setting env vars and record them so that we can undo them n fork
Diffstat (limited to 'src/pulsecore/core-util.h')
-rw-r--r--src/pulsecore/core-util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pulsecore/core-util.h b/src/pulsecore/core-util.h
index 2551f794..ccc9a38e 100644
--- a/src/pulsecore/core-util.h
+++ b/src/pulsecore/core-util.h
@@ -195,6 +195,8 @@ int pa_reset_sigs(int except, ...);
int pa_reset_sigsv(const int except[]);
void pa_set_env(const char *key, const char *value);
+void pa_set_env_and_record(const char *key, const char *value);
+void pa_unset_env_recorded(void);
pa_bool_t pa_in_system_mode(void);