aboutsummaryrefslogtreecommitdiff
path: root/src/or/directory.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-12-26 22:08:12 -0500
committerNick Mathewson <nickm@torproject.org>2013-01-03 13:03:41 -0500
commitb9fb01721a38c2b850f7a0120adc621a9d34b772 (patch)
tree8fc04dcc28f0febf2cbe67f9a832224ce0a3dc42 /src/or/directory.h
parentb0b3c14c11afe55cd71f9c1b8a89d9e5a65c9799 (diff)
downloadtor-b9fb01721a38c2b850f7a0120adc621a9d34b772.tar.gz
tor-b9fb01721a38c2b850f7a0120adc621a9d34b772.zip
Use a TAILQ, not a singly-linked queue, for the onion queue.
This makes removing items from the middle of the queue into an O(1) operation, which could prove important as we let onionqueues grow longer. Doing this actually makes the code slightly smaller, too.
Diffstat (limited to 'src/or/directory.h')
0 files changed, 0 insertions, 0 deletions