Add some hooks to handle rendezvous-related cells at ORs

svn:r1429
This commit is contained in:
Nick Mathewson 2004-04-01 04:07:09 +00:00
parent cc3c4245cb
commit 7993382ba1
2 changed files with 39 additions and 2 deletions

View File

@ -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

37
src/or/rendmid.c Normal file
View File

@ -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:
*/