summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-15 11:57:48 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-15 11:57:48 -0400
commitc846b0e486786f228a51f39d32b83d83f15bd3cd (patch)
tree6375dcfb35bcf126913a870c318cfcf6305d44fc /src/or/or.h
parentb3f2c682b721eac104455b09bd2f0d481f17d750 (diff)
downloadtor-c846b0e486786f228a51f39d32b83d83f15bd3cd.tar.gz
tor-c846b0e486786f228a51f39d32b83d83f15bd3cd.zip
Extract crypt_path_reference_t into its own header.
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/or/or.h b/src/or/or.h
index df232604e6..5c8267cf52 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -2280,18 +2280,7 @@ typedef struct {
typedef struct relay_crypto_t relay_crypto_t;
typedef struct crypt_path_t crypt_path_t;
-
-/** A reference-counted pointer to a crypt_path_t, used only to share
- * the final rendezvous cpath to be used on a service-side rendezvous
- * circuit among multiple circuits built in parallel to the same
- * destination rendezvous point. */
-typedef struct {
- /** The reference count. */
- unsigned int refcount;
- /** The pointer. Set to NULL when the crypt_path_t is put into use
- * on an opened rendezvous circuit. */
- crypt_path_t *cpath;
-} crypt_path_reference_t;
+typedef struct crypt_path_reference_t crypt_path_reference_t;
#define CPATH_KEY_MATERIAL_LEN (20*2+16*2)