mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Add some hooks to handle rendezvous-related cells at ORs
svn:r1429
This commit is contained in:
parent
cc3c4245cb
commit
7993382ba1
@ -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
37
src/or/rendmid.c
Normal 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:
|
||||
*/
|
Loading…
Reference in New Issue
Block a user