mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Tests for simple cases of conscache code.
This commit is contained in:
@@ -44,5 +44,9 @@ int consensus_cache_entry_get_body(const consensus_cache_entry_t *ent,
|
||||
const uint8_t **body_out,
|
||||
size_t *sz_out);
|
||||
|
||||
#ifdef TOR_UNIT_TESTS
|
||||
int consensus_cache_entry_is_mapped(consensus_cache_entry_t *ent);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user