mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Merge branches 'consdiffmgr_orig_squashed' and 'actually_compute_diffs_squashed'
This commit is contained in:
@@ -28,20 +28,26 @@ consdiff_status_t consdiffmgr_find_diff_from(
|
||||
consensus_flavor_t flavor,
|
||||
int digest_type,
|
||||
const uint8_t *digest,
|
||||
size_t digestlen);
|
||||
size_t digestlen,
|
||||
compress_method_t method);
|
||||
void consdiffmgr_rescan(void);
|
||||
int consdiffmgr_cleanup(void);
|
||||
void consdiffmgr_configure(const consdiff_cfg_t *cfg);
|
||||
struct sandbox_cfg_elem;
|
||||
int consdiffmgr_register_with_sandbox(struct sandbox_cfg_elem **cfg);
|
||||
void consdiffmgr_free_all(void);
|
||||
int consdiffmgr_validate(void);
|
||||
|
||||
#ifdef CONSDIFFMGR_PRIVATE
|
||||
STATIC unsigned n_diff_compression_methods(void);
|
||||
STATIC consensus_cache_t *cdm_cache_get(void);
|
||||
STATIC consensus_cache_entry_t *cdm_cache_lookup_consensus(
|
||||
consensus_flavor_t flavor, time_t valid_after);
|
||||
STATIC int cdm_entry_get_sha3_value(uint8_t *digest_out,
|
||||
consensus_cache_entry_t *ent,
|
||||
const char *label);
|
||||
STATIC int uncompress_or_copy(char **out, size_t *outlen,
|
||||
consensus_cache_entry_t *ent);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user