diff options
author | Roger Dingledine <arma@torproject.org> | 2006-02-23 06:51:09 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-02-23 06:51:09 +0000 |
commit | 329af979e0aaa5759d157c883e498ac552f48af8 (patch) | |
tree | 097686979d64b63ead3e9c487cb5401aecb1697e /src/or/or.h | |
parent | 2bfd2a2400e05992208f4152deea0aaf3d39eaa9 (diff) | |
download | tor-329af979e0aaa5759d157c883e498ac552f48af8.tar.gz tor-329af979e0aaa5759d157c883e498ac552f48af8.zip |
Add a new circuit purpose 'controller' to let the controller
ask for a circuit that Tor won't try to use.
Extend the EXTENDCIRCUIT controller command to let you specify
the purpose if you're starting a new circuit.
Add a new SETCIRCUITPURPOSE controller command to let you
change a circuit's purpose after it's been created.
svn:r6075
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h index eee2c80db5..efaa00235e 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -423,7 +423,9 @@ typedef enum { #define CIRCUIT_PURPOSE_S_REND_JOINED 16 /** A testing circuit; not meant to be used for actual traffic. */ #define CIRCUIT_PURPOSE_TESTING 17 -#define _CIRCUIT_PURPOSE_MAX 17 +/** A controller made this circuit and Tor should not use it. */ +#define CIRCUIT_PURPOSE_CONTROLLER 18 +#define _CIRCUIT_PURPOSE_MAX 18 /** True iff the circuit purpose <b>p</b> is for a circuit that * originated at this node. */ |