diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-03-28 19:55:18 +0200 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-03-28 19:55:18 +0200 |
commit | 208c2a5c74e5ae4e53a9c6555f5519816826d490 (patch) | |
tree | d7b01b05afdeb890714c77391c7705a8e0727b23 /src/or/directory.h | |
parent | 4d5b46aad91daeafd9c3f9d703f3b0b7b47ad472 (diff) | |
parent | 003a7fe2a390615df9f700193ab0fe52fa4ade93 (diff) | |
download | tor-208c2a5c74e5ae4e53a9c6555f5519816826d490.tar.gz tor-208c2a5c74e5ae4e53a9c6555f5519816826d490.zip |
Merge branch 'spooling_squashed'
Diffstat (limited to 'src/or/directory.h')
-rw-r--r-- | src/or/directory.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/or/directory.h b/src/or/directory.h index 288025c23a..0c5db3e070 100644 --- a/src/or/directory.h +++ b/src/or/directory.h @@ -66,7 +66,7 @@ void directory_initiate_command_routerstatus_rend(const routerstatus_t *status, int parse_http_response(const char *headers, int *code, time_t *date, compress_method_t *compression, char **response); -int connection_dir_is_encrypted(dir_connection_t *conn); +int connection_dir_is_encrypted(const dir_connection_t *conn); int connection_dir_reached_eof(dir_connection_t *conn); int connection_dir_process_inbuf(dir_connection_t *conn); int connection_dir_finished_flushing(dir_connection_t *conn); @@ -88,7 +88,12 @@ void directory_initiate_command(const tor_addr_t *or_addr, uint16_t or_port, int dir_split_resource_into_fingerprints(const char *resource, smartlist_t *fp_out, int *compressed_out, int flags); - +enum dir_spool_source_t; +int dir_split_resource_into_spoolable(const char *resource, + enum dir_spool_source_t source, + smartlist_t *spool_out, + int *compressed_out, + int flags); int dir_split_resource_into_fingerprint_pairs(const char *res, smartlist_t *pairs_out); char *directory_dump_request_log(void); |