aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuituse.h
diff options
context:
space:
mode:
authorRobert Ransom <rransom.8774@gmail.com>2011-11-24 06:52:38 -0800
committerRobert Ransom <rransom.8774@gmail.com>2011-11-24 06:52:38 -0800
commit104c50fedb1b9217fbb2a8cc5fcf9ec9c9be2674 (patch)
tree42003d995346a7a91035d32946eb332c6cacabdb /src/or/circuituse.h
parentd0ed7cbf8b83f675dcd858abbdfda98eb3bafc88 (diff)
downloadtor-104c50fedb1b9217fbb2a8cc5fcf9ec9c9be2674.tar.gz
tor-104c50fedb1b9217fbb2a8cc5fcf9ec9c9be2674.zip
Log whenever a circuit's purpose is changed
Diffstat (limited to 'src/or/circuituse.h')
-rw-r--r--src/or/circuituse.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/circuituse.h b/src/or/circuituse.h
index 9867fd8205..ac67f4384a 100644
--- a/src/or/circuituse.h
+++ b/src/or/circuituse.h
@@ -50,6 +50,8 @@ int connection_ap_handshake_attach_chosen_circuit(entry_connection_t *conn,
crypt_path_t *cpath);
int connection_ap_handshake_attach_circuit(entry_connection_t *conn);
+void circuit_change_purpose(circuit_t *circ, uint8_t new_purpose);
+
int hostname_in_track_host_exits(const or_options_t *options,
const char *address);