diff options
author | Peter Palfrader <peter@palfrader.org> | 2005-10-18 14:33:19 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2005-10-18 14:33:19 +0000 |
commit | d2f1cd4196bea8dafaf12d6e46c591132506755a (patch) | |
tree | 8457b37d07b6fefb34124ed1f2166916599647f0 /src/or/dirserv.c | |
parent | 48ade882c3eaefb8db0b8fcded1041360461e766 (diff) | |
download | tor-d2f1cd4196bea8dafaf12d6e46c591132506755a.tar.gz tor-d2f1cd4196bea8dafaf12d6e46c591132506755a.zip |
Fix documentation of dirserv_get_routerdescs:
correct the path for queries by server key, add queries by SD digest
svn:r5268
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r-- | src/or/dirserv.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index 79d60dc56e..9fa96bb7bd 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -1386,10 +1386,13 @@ dirserv_get_networkstatus_v2(smartlist_t *result, } /** Add a routerinfo_t to <b>descs_out</b> for each router matching - * <b>key</b>. The key should be either "/tor/server/authority" for our own - * routerinfo; "/tor/server/all" for all the routerinfos we have, - * concatenated; or "/tor/server/FP" where FP is a plus-separated sequence of - * hex identity digests. + * <b>key</b>. The key should be either + * - "/tor/server/authority" for our own routerinfo; + * - "/tor/server/all" for all the routerinfos we have, concatenated; + * - "/tor/server/fp/FP" where FP is a plus-separated sequence of + * hex identity digests; or + * - "/tor/server/d/D where D is a plus-separated sequence + * of server descriptor digests, in hex. */ void dirserv_get_routerdescs(smartlist_t *descs_out, const char *key) |