mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-09-23 06:24:59 +02:00
d7be1fd519
(pun not intended) Now our code supports both legacy and prop224 ESTABLISH_INTRO cells :) hs_intro_received_establish_intro() is the new entry point.
26 lines
857 B
C
26 lines
857 B
C
/* Copyright (c) 2001 Matej Pfajfar.
|
|
* Copyright (c) 2001-2004, Roger Dingledine.
|
|
* Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
|
|
* Copyright (c) 2007-2016, The Tor Project, Inc. */
|
|
/* See LICENSE for licensing information */
|
|
|
|
/**
|
|
* \file rendmid.h
|
|
* \brief Header file for rendmid.c.
|
|
**/
|
|
|
|
#ifndef TOR_RENDMID_H
|
|
#define TOR_RENDMID_H
|
|
|
|
int rend_mid_establish_intro_legacy(or_circuit_t *circ, const uint8_t *request,
|
|
size_t request_len);
|
|
int rend_mid_introduce(or_circuit_t *circ, const uint8_t *request,
|
|
size_t request_len);
|
|
int rend_mid_establish_rendezvous(or_circuit_t *circ, const uint8_t *request,
|
|
size_t request_len);
|
|
int rend_mid_rendezvous(or_circuit_t *circ, const uint8_t *request,
|
|
size_t request_len);
|
|
|
|
#endif
|
|
|