mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Move stub accessor functions a level higher, to consdiffmgr
This commit is contained in:
@@ -35,6 +35,20 @@ consdiff_status_t consdiffmgr_find_diff_from(
|
||||
const uint8_t *digest,
|
||||
size_t digestlen,
|
||||
compress_method_t method);
|
||||
|
||||
int consensus_cache_entry_get_lifetime(
|
||||
const struct consensus_cache_entry_t *ent,
|
||||
long *lifetime);
|
||||
int consensus_cache_entry_is_reasonably_live(
|
||||
const struct consensus_cache_entry_t *ent,
|
||||
time_t now);
|
||||
int consensus_cache_entry_get_voters(
|
||||
const struct consensus_cache_entry_t *ent,
|
||||
smartlist_t *out);
|
||||
int consensus_cache_entry_valid_until(
|
||||
const struct consensus_cache_entry_t *ent,
|
||||
time_t *out);
|
||||
|
||||
void consdiffmgr_rescan(void);
|
||||
int consdiffmgr_cleanup(void);
|
||||
void consdiffmgr_enable_background_compression(void);
|
||||
|
||||
Reference in New Issue
Block a user