summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-07-18 21:47:04 +0000
committerNick Mathewson <nickm@torproject.org>2004-07-18 21:47:04 +0000
commit54c129d8dcbf27ec8f5117b46401a414fafe3b2e (patch)
tree65afe268dae997ef37b63729a68b91bea8aa1e60 /src/or/or.h
parent87d0948903a8ce0802d4b94f98601ededdebd808 (diff)
downloadtor-54c129d8dcbf27ec8f5117b46401a414fafe3b2e.tar.gz
tor-54c129d8dcbf27ec8f5117b46401a414fafe3b2e.zip
abstract ORPort/SocksPort checks into server_mode(), proxy_mode(), clique_mode(), etc. Dont change underlying comments.
svn:r2054
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index d7d0fab49a..a5bbe63196 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -1194,6 +1194,10 @@ void connection_stop_writing(connection_t *conn);
void connection_start_writing(connection_t *conn);
void directory_has_arrived(void);
+int clique_mode(void);
+int server_mode(void);
+int exit_server_mode(void);
+int proxy_mode(void);
int main(int argc, char *argv[]);