core-util: Add pa_unset_env()

Since we already have pa_set_env(), it's nice to also have a
corresponding function for unsetting environment variables.
This commit is contained in:
Tanu Kaskinen 2014-10-02 12:14:09 +03:00
parent 0e44b127d0
commit f04e31dc5e
3 changed files with 15 additions and 6 deletions

View file

@ -210,6 +210,7 @@ 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_unset_env(const char *key);
void pa_set_env_and_record(const char *key, const char *value);
void pa_unset_env_recorded(void);