void set_global_create_private_ticket(bool enabled, int flags/*unused - persistent*/) { assert_global_configuration_initialized(); if (enabled) xsetenv(CREATE_PRIVATE_TICKET, "1"); else safe_unsetenv(CREATE_PRIVATE_TICKET); }
void unexport_event_config(GList *env_list) { while (env_list) { char *var_val = env_list->data; VERB3 log("Unexporting '%s'", var_val); safe_unsetenv(var_val); env_list = g_list_remove(env_list, var_val); free(var_val); } }