Fix documentation of dirserv_get_routerdescs:

correct the path for queries by server key, add queries by SD digest


svn:r5268
This commit is contained in:
Peter Palfrader
2005-10-18 14:33:19 +00:00
parent 48ade882c3
commit d2f1cd4196
+7 -4
View File
@@ -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)