summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-08-15 15:42:14 -0400
committerNick Mathewson <nickm@torproject.org>2014-08-15 15:58:00 -0400
commitdb2af2abb03a82e7c71581efa04a45869feba38a (patch)
treef5af77ffc83a6ec5a0056e408a0de545f333429d /src/or/or.h
parentbe231b0db196513036ee624dc5b9b87c4f898625 (diff)
downloadtor-db2af2abb03a82e7c71581efa04a45869feba38a.tar.gz
tor-db2af2abb03a82e7c71581efa04a45869feba38a.zip
Start converting circuitlist to smartlist.
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 0419111a4e..e106a745b2 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -2864,8 +2864,8 @@ typedef struct circuit_t {
/** Unique ID for measuring tunneled network status requests. */
uint64_t dirreq_id;
- /** Next circuit in linked list of all circuits (global_circuitlist). */
- TOR_LIST_ENTRY(circuit_t) head;
+ /** Index in smartlist of all circuits (global_circuitlist). */
+ int global_circuitlist_idx;
/** Next circuit in the doubly-linked ring of circuits waiting to add
* cells to n_conn. NULL if we have no cells pending, or if we're not