Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Benjamin J. Thompson
Tor
Commits
afa36682
Commit
afa36682
authored
5 years ago
by
Nick Mathewson
Browse files
Options
Downloads
Patches
Plain Diff
consdiffmgr.h: use struct declarations for several types
This prevents a dependency on include order.
parent
06d977b5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/feature/dircache/consdiffmgr.h
+6
-4
6 additions, 4 deletions
src/feature/dircache/consdiffmgr.h
with
6 additions
and
4 deletions
src/feature/dircache/consdiffmgr.h
+
6
−
4
View file @
afa36682
...
...
@@ -66,17 +66,19 @@ void consdiffmgr_free_all(void);
int
consdiffmgr_validate
(
void
);
#ifdef CONSDIFFMGR_PRIVATE
struct
consensus_cache_t
;
struct
consensus_cache_entry_t
;
STATIC
unsigned
n_diff_compression_methods
(
void
);
STATIC
unsigned
n_consensus_compression_methods
(
void
);
STATIC
consensus_cache_t
*
cdm_cache_get
(
void
);
STATIC
consensus_cache_entry_t
*
cdm_cache_lookup_consensus
(
STATIC
struct
consensus_cache_t
*
cdm_cache_get
(
void
);
STATIC
struct
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
,
struct
consensus_cache_entry_t
*
ent
,
const
char
*
label
);
STATIC
int
uncompress_or_set_ptr
(
const
char
**
out
,
size_t
*
outlen
,
char
**
owned_out
,
consensus_cache_entry_t
*
ent
);
struct
consensus_cache_entry_t
*
ent
);
#endif
/* defined(CONSDIFFMGR_PRIVATE) */
#ifdef TOR_UNIT_TESTS
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment