summaryrefslogtreecommitdiff
path: root/src/or/main.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-10-18 14:26:29 -0400
committerNick Mathewson <nickm@torproject.org>2017-11-01 13:22:09 -0400
commitfa02ea102e3ccc946d269788e88c6818e84ad6f8 (patch)
tree1243062264c951326ef829d5cfeca1b0a8dcdc7a /src/or/main.h
parent72b5e4a2db4282002fe50e11c2b8a79e108d30f8 (diff)
downloadtor-fa02ea102e3ccc946d269788e88c6818e84ad6f8.tar.gz
tor-fa02ea102e3ccc946d269788e88c6818e84ad6f8.zip
Add a public tor_api.h with an implementation in tor_api.c
The main effect of this change is to commit to an extensible long-term API. Closes ticket 23684.
Diffstat (limited to 'src/or/main.h')
-rw-r--r--src/or/main.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/or/main.h b/src/or/main.h
index 132ab12bbb..3868519c85 100644
--- a/src/or/main.h
+++ b/src/or/main.h
@@ -74,8 +74,6 @@ void release_lockfile(void);
void tor_cleanup(void);
void tor_free_all(int postfork);
-int tor_main(int argc, char *argv[]);
-
int do_main_loop(void);
int tor_init(int argc, char **argv);