core-util: add api for setting env vars and record them so that we can undo them n fork

This commit is contained in:
Lennart Poettering 2009-09-02 00:34:27 +02:00
parent 45513a2077
commit 5f929963d1
2 changed files with 32 additions and 0 deletions

View file

@ -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);