aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuituse.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-07-20 12:55:42 -0400
committerNick Mathewson <nickm@torproject.org>2011-07-21 11:15:25 -0400
commit569fe936b8349082d6f9dcd4e55f7d5758d236be (patch)
treeec9ea9960da15b0f20dd2805f6fea5fa040ed536 /src/or/circuituse.h
parent33e6a3d75054d9dbb945434d9fe5c3f6be162adb (diff)
downloadtor-569fe936b8349082d6f9dcd4e55f7d5758d236be.tar
tor-569fe936b8349082d6f9dcd4e55f7d5758d236be.tar.gz
Move entry-only fields from edge_connection_t to entry_connection_t
Also, refactor the code accordingly.
Diffstat (limited to 'src/or/circuituse.h')
-rw-r--r--src/or/circuituse.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/circuituse.h b/src/or/circuituse.h
index ab7f6a2fe..9867fd820 100644
--- a/src/or/circuituse.h
+++ b/src/or/circuituse.h
@@ -14,7 +14,7 @@
void circuit_expire_building(void);
void circuit_remove_handled_ports(smartlist_t *needed_ports);
-int circuit_stream_is_being_handled(edge_connection_t *conn, uint16_t port,
+int circuit_stream_is_being_handled(entry_connection_t *conn, uint16_t port,
int min);
#if 0
int circuit_conforms_to_options(const origin_circuit_t *circ,
@@ -45,10 +45,10 @@ origin_circuit_t *circuit_launch_by_extend_info(uint8_t purpose,
int flags);
origin_circuit_t *circuit_launch(uint8_t purpose, int flags);
void circuit_reset_failure_count(int timeout);
-int connection_ap_handshake_attach_chosen_circuit(edge_connection_t *conn,
+int connection_ap_handshake_attach_chosen_circuit(entry_connection_t *conn,
origin_circuit_t *circ,
crypt_path_t *cpath);
-int connection_ap_handshake_attach_circuit(edge_connection_t *conn);
+int connection_ap_handshake_attach_circuit(entry_connection_t *conn);
int hostname_in_track_host_exits(const or_options_t *options,
const char *address);