diff options
author | Fernando Fernandez Mancera <ffernandezmancera@gmail.com> | 2017-12-08 18:10:07 +0100 |
---|---|---|
committer | Fernando Fernandez Mancera <ffernandezmancera@gmail.com> | 2017-12-08 18:14:08 +0100 |
commit | 855982728085cc9497c70c2b74d8d58b62cab1a1 (patch) | |
tree | a1ebadfd0df8339dd6a1e2056e28add905df08d3 /src/or/hs_circuitmap.h | |
parent | d4ca18573ccd0164f4d867e41a8f453119ce421f (diff) | |
download | tor-855982728085cc9497c70c2b74d8d58b62cab1a1.tar.gz tor-855982728085cc9497c70c2b74d8d58b62cab1a1.zip |
Split client-side get_rend_circ into two functions.
Split hs_circuitmap_get_rend_circ_client_side(). One returns only established
circuits (hs_circuitmap_get_established_rend_circ_client_side()) and the other
returns all kinds of circuits.
Fixes #23459
Signed-off-by: Fernando Fernandez Mancera <ffernandezmancera@gmail.com>
Diffstat (limited to 'src/or/hs_circuitmap.h')
-rw-r--r-- | src/or/hs_circuitmap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/hs_circuitmap.h b/src/or/hs_circuitmap.h index 43b2947c17..9e653480b5 100644 --- a/src/or/hs_circuitmap.h +++ b/src/or/hs_circuitmap.h @@ -45,6 +45,8 @@ struct origin_circuit_t * hs_circuitmap_get_rend_circ_service_side(const uint8_t *cookie); struct origin_circuit_t * hs_circuitmap_get_rend_circ_client_side(const uint8_t *cookie); +struct origin_circuit_t * +hs_circuitmap_get_established_rend_circ_client_side(const uint8_t *cookie); void hs_circuitmap_register_intro_circ_v2_service_side( struct origin_circuit_t *circ, |