diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-04-26 10:42:11 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-04-27 21:40:13 -0400 |
commit | 7a0964279fafc9912ed5cc4b82abfb81328f5150 (patch) | |
tree | 2ee8670626a483744736b6128b81daaea2753af3 /src/common/storagedir.h | |
parent | 920475f293a8a69dd846cd06249b4b699857a3d4 (diff) | |
download | tor-7a0964279fafc9912ed5cc4b82abfb81328f5150.tar.gz tor-7a0964279fafc9912ed5cc4b82abfb81328f5150.zip |
Functionality to ensure there is space to add files to cache.
Diffstat (limited to 'src/common/storagedir.h')
-rw-r--r-- | src/common/storagedir.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/storagedir.h b/src/common/storagedir.h index 781194407f..db25057e65 100644 --- a/src/common/storagedir.h +++ b/src/common/storagedir.h @@ -45,6 +45,7 @@ int storage_dir_shrink(storage_dir_t *d, uint64_t target_size, int min_to_remove); int storage_dir_remove_all(storage_dir_t *d); +int storage_dir_get_max_files(storage_dir_t *d); #endif |