Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Core
Tor
Commits
05018d55
Unverified
Commit
05018d55
authored
Aug 09, 2019
by
teor
Browse files
Merge remote-tracking branch 'tor-github/pr/957' into maint-0.2.9
parents
2bc8989d
031ed59d
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/or/rephist.h
View file @
05018d55
...
...
@@ -117,9 +117,7 @@ extern uint32_t rephist_total_num;
#ifdef TOR_UNIT_TESTS
extern
int
onion_handshakes_requested
[
MAX_ONION_HANDSHAKE_TYPE
+
1
];
extern
int
onion_handshakes_assigned
[
MAX_ONION_HANDSHAKE_TYPE
+
1
];
typedef
struct
bw_array_t
bw_array_t
;
extern
bw_array_t
*
write_array
;
extern
struct
bw_array_t
*
write_array
;
#endif
#endif
src/test/test_relay.c
View file @
05018d55
...
...
@@ -19,6 +19,8 @@
static
or_circuit_t
*
new_fake_orcirc
(
channel_t
*
nchan
,
channel_t
*
pchan
);
static
void
test_relay_append_cell_to_circuit_queue
(
void
*
arg
);
typedef
struct
bw_array_t
bw_array_t
;
uint64_t
find_largest_max
(
bw_array_t
*
b
);
void
commit_max
(
bw_array_t
*
b
);
void
advance_obs
(
bw_array_t
*
b
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment