diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-12-12 19:05:36 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-12-12 19:05:36 +0000 |
commit | 5fb2ab1e654ad5c121fff834897ea4cf920774ca (patch) | |
tree | deff2c9449fdfd3e341943eb29d6146dfa4beddf /src/or/or.h | |
parent | 69ce955484f69eb43dcdc60ecce182267255aabd (diff) | |
download | tor-5fb2ab1e654ad5c121fff834897ea4cf920774ca.tar.gz tor-5fb2ab1e654ad5c121fff834897ea4cf920774ca.zip |
Implement the /tor/keys/fp-sk/ URL format. That mostly finishes the server side of 157.
svn:r17611
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index f61258c3db..aa5c92fa97 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -3277,6 +3277,12 @@ void directory_initiate_command(const char *address, const tor_addr_t *addr, int dir_split_resource_into_fingerprints(const char *resource, smartlist_t *fp_out, int *compresseed_out, int decode_hex, int sort_uniq); +typedef struct { + char first[DIGEST_LEN]; + char second[DIGEST_LEN]; +} fp_pair_t; +int dir_split_resource_into_fingerprint_pairs(const char *res, + smartlist_t *pairs_out); char *directory_dump_request_log(void); void note_request(const char *key, size_t bytes); int router_supports_extrainfo(const char *identity_digest, int is_authority); |