diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-04-01 04:07:09 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-04-01 04:07:09 +0000 |
commit | 7993382ba1796130f4dd02ec65267e9a5cced611 (patch) | |
tree | dacc574e2c331bbebdea4b6e22ece1247a67739b /src | |
parent | cc3c4245cb80cb7bb98be4868f053fb9421176d3 (diff) | |
download | tor-7993382ba1796130f4dd02ec65267e9a5cced611.tar tor-7993382ba1796130f4dd02ec65267e9a5cced611.tar.gz |
Add some hooks to handle rendezvous-related cells at ORs
svn:r1429
Diffstat (limited to 'src')
-rw-r--r-- | src/or/Makefile.am | 4 | ||||
-rw-r--r-- | src/or/rendmid.c | 37 |
2 files changed, 39 insertions, 2 deletions
diff --git a/src/or/Makefile.am b/src/or/Makefile.am index fbdac9820..c96089eb8 100644 --- a/src/or/Makefile.am +++ b/src/or/Makefile.am @@ -7,7 +7,7 @@ bin_PROGRAMS = tor tor_SOURCES = buffers.c circuit.c command.c config.c \ connection.c connection_edge.c connection_or.c \ cpuworker.c directory.c dirserv.c dns.c main.c \ - onion.c rendcommon.c rendservice.c rephist.c \ + onion.c rendcommon.c rendmid.c rendservice.c rephist.c \ router.c routerlist.c \ tor_main.c @@ -16,7 +16,7 @@ tor_LDADD = ../common/libor.a test_SOURCES = buffers.c circuit.c command.c config.c \ connection.c connection_edge.c connection_or.c \ cpuworker.c directory.c dirserv.c dns.c main.c \ - onion.c rendcommon.c rendservice.c rephist.c \ + onion.c rendcommon.c rendmid.c rendservice.c rephist.c \ router.c routerlist.c \ test.c diff --git a/src/or/rendmid.c b/src/or/rendmid.c new file mode 100644 index 000000000..fd151916a --- /dev/null +++ b/src/or/rendmid.c @@ -0,0 +1,37 @@ +/* Copyright 2004 Roger Dingledine */ +/* See LICENSE for licensing information */ +/* $Id$ */ + +#include "or.h" + +int +rend_mid_establish_intro(circuit_t *circ, char *request, int request_len) +{ + return 0; +} + +int +rend_mid_introduce(circuit_t *circ, char *request, int request_len) +{ + return 0; +} + +int +rend_mid_establish_rendezvous(circuit_t *circ, char *request, int request_len) +{ + return 0; +} + +int +rend_mid_rendezvous(circuit_t *circ, char *request, int request_len) +{ + return 0; +} + +/* + Local Variables: + mode:c + indent-tabs-mode:nil + c-basic-offset:2 + End: +*/ |