[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] Add some hooks to handle rendezvous-related cells at ORs



Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/tmp/cvs-serv16612/src/or

Modified Files:
	Makefile.am 
Added Files:
	rendmid.c 
Log Message:
Add some hooks to handle rendezvous-related cells at ORs

--- NEW FILE: rendmid.c ---
/* Copyright 2004 Roger Dingledine */
/* See LICENSE for licensing information */
/* $Id: rendmid.c,v 1.1 2004/04/01 04:07:09 nickm Exp $ */

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

Index: Makefile.am
===================================================================
RCS file: /home/or/cvsroot/src/or/Makefile.am,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- Makefile.am	31 Mar 2004 21:35:23 -0000	1.29
+++ Makefile.am	1 Apr 2004 04:07:09 -0000	1.30
@@ -7,7 +7,7 @@
 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 @@
 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