diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2014-06-15 17:30:50 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2014-06-15 17:30:50 -0700 |
commit | 6277a2e4a4a9557290018d885c0b34d244a84dbc (patch) | |
tree | 11f288aa3c38be3b7c9ba828e3346172f88436fa /env.h | |
parent | 84faa60c4efa47aad89c7733881b5765f42c8403 (diff) |
Migrate global functions out of env_universal. Have env operate directly
on an env_universal_t.
Diffstat (limited to 'env.h')
-rw-r--r-- | env.h | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -69,12 +69,6 @@ struct config_paths_t void env_init(const struct config_paths_t *paths = NULL); /** - Destroy environment variable data -*/ -void env_destroy(); - - -/** Set the value of the environment variable whose name matches key to val. Memory policy: All keys and values are copied, the parameters can and should be freed by the caller afterwards @@ -205,6 +199,9 @@ void env_push(bool new_scope); */ void env_pop(); +/** Synchronizes all universal variable changes: writes everything out, reads stuff in */ +void env_universal_barrier(); + /** Returns an array containing all exported variables in a format suitable for execv. */ const char * const * env_export_arr(bool recalc); |