diff options
author | Marek Majkowski <marek@popcount.org> | 2013-06-20 16:56:54 +0100 |
---|---|---|
committer | Marek Majkowski <marek@popcount.org> | 2013-06-20 16:56:54 +0100 |
commit | 1555876d5f27acaa9326045e33b6e2bfc1013c7f (patch) | |
tree | e20e6c8074ba92ffb29c84b86fd1697c99f61772 /src/or/circuitlist.h | |
parent | d7538b57b49669afef0cb3dd03e0ed1a118a98fd (diff) | |
download | tor-1555876d5f27acaa9326045e33b6e2bfc1013c7f.tar tor-1555876d5f27acaa9326045e33b6e2bfc1013c7f.tar.gz |
Fix #9108 - make global_circuitlist a doubly linked list
Diffstat (limited to 'src/or/circuitlist.h')
-rw-r--r-- | src/or/circuitlist.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/circuitlist.h b/src/or/circuitlist.h index 03f678c5a..4726b3be5 100644 --- a/src/or/circuitlist.h +++ b/src/or/circuitlist.h @@ -12,7 +12,9 @@ #ifndef TOR_CIRCUITLIST_H #define TOR_CIRCUITLIST_H -circuit_t * circuit_get_global_list_(void); +TOR_LIST_HEAD(global_circuitlist_s, circuit_t); + +struct global_circuitlist_s* circuit_get_global_list_(void); const char *circuit_state_to_string(int state); const char *circuit_purpose_to_controller_string(uint8_t purpose); const char *circuit_purpose_to_controller_hs_state_string(uint8_t purpose); |