diff options
author | Nick Mathewson <nickm@torproject.org> | 2010-09-21 16:16:56 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-09-27 18:05:01 -0400 |
commit | d45b912058a38d5c29a389f547660dd1283d2ae1 (patch) | |
tree | 7a34d36f7be0d6c06cba9db339e1e401c9159ced /src/or/microdesc.h | |
parent | 3a492d31d5c50ef3b766881ae1d765c296d55797 (diff) | |
download | tor-d45b912058a38d5c29a389f547660dd1283d2ae1.tar.gz tor-d45b912058a38d5c29a389f547660dd1283d2ae1.zip |
Clean long-unlisted microdescs from the cache
Diffstat (limited to 'src/or/microdesc.h')
-rw-r--r-- | src/or/microdesc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/microdesc.h b/src/or/microdesc.h index 7cba3a385e..1dfe3ae826 100644 --- a/src/or/microdesc.h +++ b/src/or/microdesc.h @@ -22,6 +22,7 @@ smartlist_t *microdescs_add_list_to_cache(microdesc_cache_t *cache, smartlist_t *descriptors, saved_location_t where, int no_save); +void microdesc_cache_clean(microdesc_cache_t *cache); int microdesc_cache_rebuild(microdesc_cache_t *cache); int microdesc_cache_reload(microdesc_cache_t *cache); void microdesc_cache_clear(microdesc_cache_t *cache); @@ -40,7 +41,7 @@ void microdesc_free(microdesc_t *md); void microdesc_free_all(void); void update_microdesc_downloads(time_t now); - +void update_microdescs_from_networkstatus(time_t now); #endif |