summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-07-01 14:34:52 -0400
committerNick Mathewson <nickm@torproject.org>2018-07-01 15:20:37 -0400
commit6ccd98f93e733e39dcd460860aeead017b1b5a4f (patch)
tree9f6eb4cb10ab318398087e85fc6778c4a1303370 /src/or/or.h
parent49f88e77e5f9dec60e2409e1f6d3e3935c5eab69 (diff)
downloadtor-6ccd98f93e733e39dcd460860aeead017b1b5a4f.tar.gz
tor-6ccd98f93e733e39dcd460860aeead017b1b5a4f.zip
Move ext_or_cmd_t to proto_ext_or
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/or/or.h b/src/or/or.h
index be1f61edf8..c38b8d7509 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -624,13 +624,7 @@ typedef struct packed_cell_t packed_cell_t;
typedef struct cell_queue_t cell_queue_t;
typedef struct destroy_cell_t destroy_cell_t;
typedef struct destroy_cell_queue_t destroy_cell_queue_t;
-
-/** A parsed Extended ORPort message. */
-typedef struct ext_or_cmd_t {
- uint16_t cmd; /** Command type */
- uint16_t len; /** Body length */
- char body[FLEXIBLE_ARRAY_MEMBER]; /** Message body */
-} ext_or_cmd_t;
+typedef struct ext_or_cmd_t ext_or_cmd_t;
/** Beginning of a RELAY cell payload. */
typedef struct {