[or-cvs] Fix documentation of dirserv_get_routerdescs:

Peter Palfrader weasel at seul.org
Tue Oct 18 14:33:22 UTC 2005


Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv17406

Modified Files:
	dirserv.c 
Log Message:
Fix documentation of dirserv_get_routerdescs:
correct the path for queries by server key, add queries by SD digest

Index: dirserv.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/dirserv.c,v
retrieving revision 1.250
retrieving revision 1.251
diff -u -d -r1.250 -r1.251
--- dirserv.c	17 Oct 2005 16:21:41 -0000	1.250
+++ dirserv.c	18 Oct 2005 14:33:19 -0000	1.251
@@ -1386,10 +1386,13 @@
 }
 
 /** 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)



More information about the tor-commits mailing list