summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorRobert Ransom <rransom.8774@gmail.com>2011-11-24 06:54:55 -0800
committerRobert Ransom <rransom.8774@gmail.com>2011-11-24 06:54:55 -0800
commit296b8d0b10cc8e5d42c88284ed1b37b510f4a5bc (patch)
treed049a6535965b11e54dc743aa20174cf79a02bb9 /src/or/or.h
parent104c50fedb1b9217fbb2a8cc5fcf9ec9c9be2674 (diff)
downloadtor-296b8d0b10cc8e5d42c88284ed1b37b510f4a5bc.tar.gz
tor-296b8d0b10cc8e5d42c88284ed1b37b510f4a5bc.zip
Add CIRC2 control-port event, and send it when a circ's purpose changes
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 67ba62bdd6..85d812a942 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -3751,6 +3751,12 @@ typedef enum circuit_status_event_t {
CIRC_EVENT_CLOSED = 4,
} circuit_status_event_t;
+/** Used to indicate the type of a CIRC2 event passed to the controller.
+ * The various types are defined in control-spec.txt . */
+typedef enum circuit_status_2_event_t {
+ CIRC2_EVENT_PURPOSE_CHANGED = 0,
+} circuit_status_2_event_t;
+
/** Used to indicate the type of a stream event passed to the controller.
* The various types are defined in control-spec.txt */
typedef enum stream_status_event_t {