diff options
author | George Kadianakis <desnacked@riseup.net> | 2014-06-09 18:03:09 +0100 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2014-06-15 18:25:45 -0700 |
commit | e8c366e9ea2523bd78ab76432c3bea4e13d2c649 (patch) | |
tree | 90db65b14a5fc75bc8e2644a97dfe771c3f1e1e3 /src/or/entrynodes.c | |
parent | f75c6ce981a8e781c4c697d37094fe024f258b65 (diff) | |
download | tor-e8c366e9ea2523bd78ab76432c3bea4e13d2c649.tar.gz tor-e8c366e9ea2523bd78ab76432c3bea4e13d2c649.zip |
Create skeleton for populate_live_entry_guards().
Now we are ready to move code from choose_random_entry_impl() to it.
Diffstat (limited to 'src/or/entrynodes.c')
-rw-r--r-- | src/or/entrynodes.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/or/entrynodes.c b/src/or/entrynodes.c index e78f0c3eda..8208af3592 100644 --- a/src/or/entrynodes.c +++ b/src/or/entrynodes.c @@ -995,6 +995,16 @@ choose_random_dirguard(dirinfo_type_t type) return choose_random_entry_impl(NULL, 1, type, NULL); } +static int +populate_live_entry_guards(const smartlist_t *live_entry_guards, + const node_t *chosen_exit, + dirinfo_type_t dirinfo_type, + int need_uptime, + int need_capacity, + int need_descriptor) +{ +} + /** Helper for choose_random{entry,dirguard}. */ static const node_t * choose_random_entry_impl(cpath_build_state_t *state, int for_directory, |