2010-07-23 22:03:33 +02:00
|
|
|
/* Copyright (c) 2001 Matej Pfajfar.
|
|
|
|
* Copyright (c) 2001-2004, Roger Dingledine.
|
|
|
|
* Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
|
|
|
|
* Copyright (c) 2007-2010, The Tor Project, Inc. */
|
|
|
|
/* See LICENSE for licensing information */
|
|
|
|
|
|
|
|
/**
|
2010-07-28 17:42:33 +02:00
|
|
|
* \file rendmid.h
|
|
|
|
* \brief Header file for rendmid.c.
|
2010-07-23 22:03:33 +02:00
|
|
|
**/
|
|
|
|
|
2010-07-28 17:42:33 +02:00
|
|
|
#ifndef _TOR_RENDMID_H
|
|
|
|
#define _TOR_RENDMID_H
|
2010-07-23 22:03:33 +02:00
|
|
|
|
|
|
|
int rend_mid_establish_intro(or_circuit_t *circ, const char *request,
|
|
|
|
size_t request_len);
|
|
|
|
int rend_mid_introduce(or_circuit_t *circ, const char *request,
|
|
|
|
size_t request_len);
|
|
|
|
int rend_mid_establish_rendezvous(or_circuit_t *circ, const char *request,
|
|
|
|
size_t request_len);
|
|
|
|
int rend_mid_rendezvous(or_circuit_t *circ, const char *request,
|
|
|
|
size_t request_len);
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|