From 4c3a23b283774f02fbc35f70c72256c6469071d3 Mon Sep 17 00:00:00 2001 From: Robert Ransom Date: Thu, 22 Dec 2011 07:15:24 -0800 Subject: Look up the rend circ whose INTRODUCE1 is being ACKed correctly This change cannibalizes circuit_get_by_rend_query_and_purpose because it had exactly one caller. --- src/or/circuitlist.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/or/circuitlist.h') diff --git a/src/or/circuitlist.h b/src/or/circuitlist.h index 7b01ca3ae2..dea2813cae 100644 --- a/src/or/circuitlist.h +++ b/src/or/circuitlist.h @@ -32,8 +32,8 @@ int circuit_id_in_use_on_orconn(circid_t circ_id, or_connection_t *conn); circuit_t *circuit_get_by_edge_conn(edge_connection_t *conn); void circuit_unlink_all_from_or_conn(or_connection_t *conn, int reason); origin_circuit_t *circuit_get_by_global_id(uint32_t id); -origin_circuit_t *circuit_get_by_rend_query_and_purpose(const char *rend_query, - uint8_t purpose); +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 char *digest, uint8_t purpose); or_circuit_t *circuit_get_rendezvous(const char *cookie); -- cgit v1.2.3-54-g00ecf