summaryrefslogtreecommitdiff
path: root/src/common/util.h
diff options
context:
space:
mode:
authorNeel Chauhan <neel@neelc.org>2018-03-20 08:27:41 -0400
committerIsis Lovecruft <isis@torproject.org>2018-04-04 00:19:33 +0000
commit9df110cd722a383414584d5ff6494944c993bb6d (patch)
tree28ee43034c31ca12e52ae20b5042ea3d68a029af /src/common/util.h
parent21c81348a39dd235c40656c34abb76daf88e81f3 (diff)
downloadtor-9df110cd722a383414584d5ff6494944c993bb6d.tar.gz
tor-9df110cd722a383414584d5ff6494944c993bb6d.zip
Remove PortForwarding options
Signed-off-by: Isis Lovecruft <isis@torproject.org>
Diffstat (limited to 'src/common/util.h')
-rw-r--r--src/common/util.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/common/util.h b/src/common/util.h
index aeed8e8230..ae27e5f016 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -414,11 +414,6 @@ void start_daemon(void);
void finish_daemon(const char *desired_cwd);
int write_pidfile(const char *filename);
-/* Port forwarding */
-void tor_check_port_forwarding(const char *filename,
- struct smartlist_t *ports_to_forward,
- time_t now);
-
void tor_disable_spawning_background_processes(void);
typedef struct process_handle_t process_handle_t;
@@ -457,9 +452,7 @@ void set_environment_variable_in_smartlist(struct smartlist_t *env_vars,
void (*free_old)(void*),
int free_p);
-/* 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 */
+/* Values of process_handle_t.status. */
#define PROCESS_STATUS_NOTRUNNING 0
#define PROCESS_STATUS_RUNNING 1
#define PROCESS_STATUS_ERROR -1