aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuitlist.h
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2016-09-05 18:54:59 +0300
committerNick Mathewson <nickm@torproject.org>2016-12-14 15:17:58 -0500
commit9192e5928c0b974ba7c1b908b6f2538cd6f56c79 (patch)
tree53beb25a1a0d8d1c2e45646a0f5b06462d869ed6 /src/or/circuitlist.h
parent2b9abbef2e5d0e58e5a15b7cf8cd03965aa70117 (diff)
downloadtor-9192e5928c0b974ba7c1b908b6f2538cd6f56c79.tar.gz
tor-9192e5928c0b974ba7c1b908b6f2538cd6f56c79.zip
prop224 prepwork: Use of HS circuitmap in existing HS code.
The new HS circuitmap API replaces old public functions as follows: circuit_clear_rend_token -> hs_circuitmap_remove_circuit circuit_get_rendezvous -> hs_circuitmap_get_rend_circ circuit_get_intro_point -> hs_circuitmap_get_intro_circ_v2 circuit_set_rendezvous_cookie -> hs_circuitmap_register_rend_circ circuit_set_intro_point_digest -> hs_circuitmap_register_intro_circ_v2 This commit also removes the old rendinfo code that is now unused. It also fixes the broken rendinfo unittests.
Diffstat (limited to 'src/or/circuitlist.h')
-rw-r--r--src/or/circuitlist.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/or/circuitlist.h b/src/or/circuitlist.h
index 989c02afd5..b38b6d1afa 100644
--- a/src/or/circuitlist.h
+++ b/src/or/circuitlist.h
@@ -46,10 +46,6 @@ origin_circuit_t *circuit_get_ready_rend_circ_by_rend_data(
const rend_data_t *rend_data);
origin_circuit_t *circuit_get_next_by_pk_and_purpose(origin_circuit_t *start,
const uint8_t *digest, uint8_t purpose);
-or_circuit_t *circuit_get_rendezvous(const uint8_t *cookie);
-or_circuit_t *circuit_get_intro_point(const uint8_t *digest);
-void circuit_set_rendezvous_cookie(or_circuit_t *circ, const uint8_t *cookie);
-void circuit_set_intro_point_digest(or_circuit_t *circ, const uint8_t *digest);
origin_circuit_t *circuit_find_to_cannibalize(uint8_t purpose,
extend_info_t *info, int flags);
void circuit_mark_all_unused_circs(void);