diff options
author | Nick Mathewson <nickm@torproject.org> | 2010-10-07 15:28:54 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-10-07 15:28:54 -0400 |
commit | 3061a036c81cfa49a35ee06aadf525fba44ff761 (patch) | |
tree | 71ff465de7715024eb10608f4dfbeda7a3d6c921 /src/or/microdesc.h | |
parent | 4c71be65d83c961571db4ca460250503957cbe84 (diff) | |
download | tor-3061a036c81cfa49a35ee06aadf525fba44ff761.tar.gz tor-3061a036c81cfa49a35ee06aadf525fba44ff761.zip |
Unit tests for microdescriptor cache
May help with tracking down bug #2022
Diffstat (limited to 'src/or/microdesc.h')
-rw-r--r-- | src/or/microdesc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/microdesc.h b/src/or/microdesc.h index 1dfe3ae826..eda7008b91 100644 --- a/src/or/microdesc.h +++ b/src/or/microdesc.h @@ -22,7 +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); +void microdesc_cache_clean(microdesc_cache_t *cache, time_t cutoff, int force); int microdesc_cache_rebuild(microdesc_cache_t *cache); int microdesc_cache_reload(microdesc_cache_t *cache); void microdesc_cache_clear(microdesc_cache_t *cache); |