Tor 0.4.9.0-alpha-dev
rendcommon.h
Go to the documentation of this file.
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-2021, The Tor Project, Inc. */
5/* See LICENSE for licensing information */
6
7/**
8 * \file rendcommon.h
9 * \brief Header file for rendcommon.c.
10 **/
11
12#ifndef TOR_RENDCOMMON_H
13#define TOR_RENDCOMMON_H
14
15typedef enum rend_intro_point_failure_t {
16 INTRO_POINT_FAILURE_GENERIC = 0,
17 INTRO_POINT_FAILURE_TIMEOUT = 1,
18 INTRO_POINT_FAILURE_UNREACHABLE = 2,
19} rend_intro_point_failure_t;
20
21void rend_process_relay_cell(circuit_t *circ, const crypt_path_t *layer_hint,
22 int command, size_t length,
23 const uint8_t *payload);
24
25void assert_circ_anonymity_ok(const origin_circuit_t *circ,
26 const or_options_t *options);
27
28#endif /* !defined(TOR_RENDCOMMON_H) */
29
tor_cmdline_mode_t command
Definition: config.c:2468
void rend_process_relay_cell(circuit_t *circ, const crypt_path_t *layer_hint, int command, size_t length, const uint8_t *payload)
Definition: rendcommon.c:34