Merge branch 'maint-0.2.5' into maint-0.2.6
[tor.git] / src / or / rendmid.h
blob6bd691a740d2fe4aea0f9d38cb7d7c75dfd436da
1 /* Copyright (c) 2001 Matej Pfajfar.
2 * Copyright (c) 2001-2004, Roger Dingledine.
3 * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
4 * Copyright (c) 2007-2015, The Tor Project, Inc. */
5 /* See LICENSE for licensing information */
7 /**
8 * \file rendmid.h
9 * \brief Header file for rendmid.c.
10 **/
12 #ifndef TOR_RENDMID_H
13 #define TOR_RENDMID_H
15 int rend_mid_establish_intro(or_circuit_t *circ, const uint8_t *request,
16 size_t request_len);
17 int rend_mid_introduce(or_circuit_t *circ, const uint8_t *request,
18 size_t request_len);
19 int rend_mid_establish_rendezvous(or_circuit_t *circ, const uint8_t *request,
20 size_t request_len);
21 int rend_mid_rendezvous(or_circuit_t *circ, const uint8_t *request,
22 size_t request_len);
24 #endif