diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-09-14 10:16:44 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-09-14 10:16:44 -0400 |
commit | 994de7db5345a1c1a2c182000d6e2bd42df5ae57 (patch) | |
tree | dcba596a1459e286bf98cc95af58a7d0f1fded8b /src/core/or/connection_edge.h | |
parent | dbb0abc9f1a174efdb65d581f5dbe46dbad2ebb5 (diff) | |
parent | ab92f934212f0f91f74cd171211117d20a28cc1e (diff) | |
download | tor-994de7db5345a1c1a2c182000d6e2bd42df5ae57.tar.gz tor-994de7db5345a1c1a2c182000d6e2bd42df5ae57.zip |
Merge branch 'ticket27686_034' into x
Diffstat (limited to 'src/core/or/connection_edge.h')
-rw-r--r-- | src/core/or/connection_edge.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/or/connection_edge.h b/src/core/or/connection_edge.h index 1348dd49f9..a1da8a34cf 100644 --- a/src/core/or/connection_edge.h +++ b/src/core/or/connection_edge.h @@ -185,6 +185,11 @@ int connection_half_edge_is_valid_end(smartlist_t *half_conns, int connection_half_edge_is_valid_resolved(smartlist_t *half_conns, streamid_t stream_id); +size_t half_streams_get_total_allocation(void); +void half_edge_free_(half_edge_t *he); +#define half_edge_free(he) \ + FREE_AND_NULL(half_edge_t, half_edge_free_, (he)) + /** @name Begin-cell flags * * These flags are used in RELAY_BEGIN cells to change the default behavior |