Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
David Goulet
Tor
Commits
83b2208e
Commit
83b2208e
authored
Mar 26, 2007
by
Nick Mathewson
⛰
Browse files
r12653@Kushana: nickm | 2007-03-25 18:21:38 -0400
Add documentation for make_old argument to routerlist functions. svn:r9906
parent
d1381aef
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/or/routerlist.c
View file @
83b2208e
...
...
@@ -1647,7 +1647,8 @@ routerlist_insert_old(routerlist_t *rl, routerinfo_t *ri)
* which to remove. We fill the gap in rl->routers with a later element in
* the list, if any exists. <b>ri</b> is freed.
*
* DOCDOC make_old */
* If <b>make_old</b> is true, instead of deleting the router, we try adding
* it to rl->old_routers. */
void
routerlist_remove
(
routerlist_t
*
rl
,
routerinfo_t
*
ri
,
int
idx
,
int
make_old
)
{
...
...
@@ -1703,7 +1704,8 @@ routerlist_remove_old(routerlist_t *rl, signed_descriptor_t *sd, int idx)
* search over the list to decide which to remove. We put ri_new in the same
* index as ri_old, if possible. ri is freed as appropriate.
*
* DOCDOC make_old */
* If <b>make_old</b> is true, instead of deleting the router, we try adding
* it to rl->old_routers. */
static
void
routerlist_replace
(
routerlist_t
*
rl
,
routerinfo_t
*
ri_old
,
routerinfo_t
*
ri_new
,
int
idx
,
int
make_old
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment