summaryrefslogtreecommitdiff
path: root/src/common/util.h
diff options
context:
space:
mode:
authorRobert Ransom <rransom.8774@gmail.com>2012-02-12 20:34:52 -0800
committerNick Mathewson <nickm@torproject.org>2012-02-17 11:42:19 -0500
commit0ba93e184ad6216f886d7347dd81fe08edbb99c7 (patch)
tree49fd22cf4d67bbdec56fc615cd0fde5e7e29c290 /src/common/util.h
parent98cec14982718d71e1a7b001f8a9a73c3bf0800b (diff)
downloadtor-0ba93e184ad6216f886d7347dd81fe08edbb99c7.tar.gz
tor-0ba93e184ad6216f886d7347dd81fe08edbb99c7.zip
Add get_current_process_environment_variables
Diffstat (limited to 'src/common/util.h')
-rw-r--r--src/common/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/util.h b/src/common/util.h
index 3989cb4a1b..f485446069 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -394,6 +394,8 @@ typedef struct process_environment_t process_environment_t;
process_environment_t *process_environment_make(struct smartlist_t *env_vars);
void process_environment_free(process_environment_t *env);
+struct smartlist_t *get_current_process_environment_variables(void);
+
/* Values of process_handle_t.status. PROCESS_STATUS_NOTRUNNING must be
* 0 because tor_check_port_forwarding depends on this being the initial
* statue of the static instance of process_handle_t */