diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-04-16 18:39:39 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-04-16 18:39:39 +0000 |
commit | 6d32d9cb2d65c7851d87010e8971ddc271aa031b (patch) | |
tree | 524d29e6e65276e27368e40af851943b1b84755f /src/or/routerlist.c | |
parent | 2bb5e642899ce55a5846f1bdab58f97bef7523f6 (diff) | |
download | tor-6d32d9cb2d65c7851d87010e8971ddc271aa031b.tar.gz tor-6d32d9cb2d65c7851d87010e8971ddc271aa031b.zip |
r12406@catbus: nickm | 2007-04-16 14:39:33 -0400
More proposal-104 stuff: add most of the code for authorities to accept and serve extra-info documents. The back-end to store the things is missing.
svn:r9971
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r-- | src/or/routerlist.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index 9b1f60e422..9b77e3801f 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -1442,6 +1442,15 @@ router_get_by_descriptor_digest(const char *digest) return digestmap_get(routerlist->desc_digest_map, digest); } +/** DOCDOC */ +signed_descriptor_t * +extrainfo_get_by_descriptor_digest(const char *digest) +{ + /* XXXX020 implement me. */ + (void)digest; + return NULL; +} + /** Return a pointer to the signed textual representation of a descriptor. * The returned string is not guaranteed to be NUL-terminated: the string's * length will be in desc-\>signed_descriptor_len. */ |