diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-11-15 04:04:20 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-11-15 04:04:20 +0000 |
commit | 22a0d8274965392e7bf290c6a23d0f85fbebb40a (patch) | |
tree | e63b793cd51cf17cbc6239de273763a24e072451 /src/or/or.h | |
parent | 076f1209515a027f1d377d06060455a69bb41f0f (diff) | |
download | tor-22a0d8274965392e7bf290c6a23d0f85fbebb40a.tar.gz tor-22a0d8274965392e7bf290c6a23d0f85fbebb40a.zip |
Cache running-routers; compress running-routers; serve compressed running-routers.z
svn:r2883
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/or.h b/src/or/or.h index 72fa6f80aa..8ce9e901c8 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -1307,8 +1307,9 @@ int dirserv_dump_directory_to_string(char *s, size_t maxlen, crypto_pk_env_t *private_key); void directory_set_dirty(void); size_t dirserv_get_directory(const char **cp, int compress); -size_t dirserv_get_runningrouters(const char **rr); -void dirserv_set_cached_directory(const char *directory, time_t when); +size_t dirserv_get_runningrouters(const char **rr, int compress); +void dirserv_set_cached_directory(const char *directory, time_t when, + int is_running_routers); /********************************* dns.c ***************************/ |