summaryrefslogtreecommitdiff
path: root/src/or/channel.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-10-12 20:16:43 -0400
committerNick Mathewson <nickm@torproject.org>2012-10-12 20:16:43 -0400
commit2b10e99eb093e1e5e699db355e0c54342fa693b5 (patch)
tree5eadf6a608c3cc7c9f8852612b15620ff7b39ff5 /src/or/channel.h
parent7c9954a02abd16e5c74c2a5dea9ed0f65af230be (diff)
downloadtor-2b10e99eb093e1e5e699db355e0c54342fa693b5.tar.gz
tor-2b10e99eb093e1e5e699db355e0c54342fa693b5.zip
Try refactoring channel list to use HT_ and LIST_ stuff directly
Diffstat (limited to 'src/or/channel.h')
-rw-r--r--src/or/channel.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/or/channel.h b/src/or/channel.h
index ccb8fe89e2..1e7279a54a 100644
--- a/src/or/channel.h
+++ b/src/or/channel.h
@@ -122,7 +122,7 @@ struct channel_s {
* Linked list of channels with the same identity digest, for the
* digest->channel map
*/
- channel_t *next_with_same_id, *prev_with_same_id;
+ LIST_ENTRY(channel_s) next_with_same_id;
/* List of incoming cells to handle */
chan_cell_queue_t incoming_queue;
@@ -417,9 +417,7 @@ channel_t * channel_find_by_remote_digest(const char *identity_digest);
/** For things returned by channel_find_by_remote_digest(), walk the list.
*/
-
channel_t * channel_next_with_digest(channel_t *chan);
-channel_t * channel_prev_with_digest(channel_t *chan);
/*
* Metadata queries/updates