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.
|
2017-03-15 21:13:17 +01:00
|
|
|
* Copyright (c) 2007-2017, The Tor Project, Inc. */
|
2010-07-23 22:03:33 +02:00
|
|
|
/* 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
|
|
|
**/
|
|
|
|
|
2012-10-12 18:13:10 +02:00
|
|
|
#ifndef TOR_RENDMID_H
|
|
|
|
#define TOR_RENDMID_H
|
2010-07-23 22:03:33 +02:00
|
|
|
|
2016-11-02 16:37:50 +01:00
|
|
|
int rend_mid_establish_intro_legacy(or_circuit_t *circ, const uint8_t *request,
|
|
|
|
size_t request_len);
|
2016-11-15 20:29:02 +01:00
|
|
|
int rend_mid_introduce_legacy(or_circuit_t *circ, const uint8_t *request,
|
|
|
|
size_t request_len);
|
2010-12-16 04:47:28 +01:00
|
|
|
int rend_mid_establish_rendezvous(or_circuit_t *circ, const uint8_t *request,
|
2010-07-23 22:03:33 +02:00
|
|
|
size_t request_len);
|
2010-12-16 04:47:28 +01:00
|
|
|
int rend_mid_rendezvous(or_circuit_t *circ, const uint8_t *request,
|
2010-07-23 22:03:33 +02:00
|
|
|
size_t request_len);
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|