diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-09-09 13:48:44 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-03-14 11:57:51 -0400 |
commit | 1a74360c2dd5c197e2dfc28b37961c77bb7792f1 (patch) | |
tree | d1e856ff67b9dcf2a97fabaaea5fc599566a62d6 /src/common/container.h | |
parent | 102bb1c04f5cb4fb3eae7f41f80660e47c64ceb6 (diff) | |
download | tor-1a74360c2dd5c197e2dfc28b37961c77bb7792f1.tar.gz tor-1a74360c2dd5c197e2dfc28b37961c77bb7792f1.zip |
Test code for implementation of faster circuit_unlink_all_from_channel
This contains the obvious implementation using the circuitmux data
structure. It also runs the old (slow) algorithm and compares
the results of the two to make sure that they're the same.
Needs review and testing.
Diffstat (limited to 'src/common/container.h')
-rw-r--r-- | src/common/container.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/container.h b/src/common/container.h index 93f0b7114e..0d31f2093b 100644 --- a/src/common/container.h +++ b/src/common/container.h @@ -103,6 +103,7 @@ void smartlist_uniq(smartlist_t *sl, void smartlist_sort_strings(smartlist_t *sl); void smartlist_sort_digests(smartlist_t *sl); void smartlist_sort_digests256(smartlist_t *sl); +void smartlist_sort_pointers(smartlist_t *sl); char *smartlist_get_most_frequent_string(smartlist_t *sl); char *smartlist_get_most_frequent_digest256(smartlist_t *sl); |