aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-08-06 22:15:25 +0000
committerRoger Dingledine <arma@torproject.org>2004-08-06 22:15:25 +0000
commite95ae1c9ad38b831c62b21a95c323491c1828f96 (patch)
tree59e5e077ed803f86e39bf49417db6653a1a9b26e /src/or/or.h
parentbd24c68a585eeee79cb16b638667958366ddb1fe (diff)
downloadtor-e95ae1c9ad38b831c62b21a95c323491c1828f96.tar
tor-e95ae1c9ad38b831c62b21a95c323491c1828f96.tar.gz
let purging routerinfos and descriptors take an age argument
svn:r2171
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 167b6d86a..df69cc28f 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -1160,7 +1160,7 @@ void dirserv_free_fingerprint_list();
int dirserv_add_descriptor(const char **desc);
int dirserv_load_from_directory_string(const char *dir);
void dirserv_free_descriptors();
-void dirserv_remove_old_servers(void);
+void dirserv_remove_old_servers(int age);
int dirserv_dump_directory_to_string(char *s, unsigned int maxlen,
crypto_pk_env_t *private_key);
void directory_set_dirty(void);
@@ -1385,7 +1385,7 @@ void routerlist_clear_trusted_directories(void);
void routerinfo_free(routerinfo_t *router);
routerinfo_t *routerinfo_copy(const routerinfo_t *router);
void router_mark_as_down(const char *digest);
-void routerlist_remove_old_routers(void);
+void routerlist_remove_old_routers(int age);
int router_load_routerlist_from_file(char *routerfile, int trusted);
int router_load_routerlist_from_string(const char *s, int trusted);
int router_load_routerlist_from_directory(const char *s,crypto_pk_env_t *pkey);