diff options
author | Robert Ransom <rransom.8774@gmail.com> | 2011-12-22 07:15:24 -0800 |
---|---|---|
committer | Robert Ransom <rransom.8774@gmail.com> | 2011-12-22 23:46:09 -0800 |
commit | 4c3a23b283774f02fbc35f70c72256c6469071d3 (patch) | |
tree | 6888a3030d50cd73141d9a3176adf7190a911646 /src/or/circuitlist.h | |
parent | 66f77561c0bb93bf768b2764137ab1b5e4fc04a4 (diff) | |
download | tor-4c3a23b283774f02fbc35f70c72256c6469071d3.tar.gz tor-4c3a23b283774f02fbc35f70c72256c6469071d3.zip |
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.
Diffstat (limited to 'src/or/circuitlist.h')
-rw-r--r-- | src/or/circuitlist.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); |