diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-03-26 19:33:44 +0200 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-06-21 14:03:00 -0400 |
commit | 1c0a2335cd27ed4f4a61f99ce19b5ba08639eeff (patch) | |
tree | f21a4d88f2436a9b0e810615fe8478f553a26d8a /src/or/channel.h | |
parent | 0895808023b023a8eff00c6b6eb27c4ec4b40191 (diff) | |
download | tor-1c0a2335cd27ed4f4a61f99ce19b5ba08639eeff.tar.gz tor-1c0a2335cd27ed4f4a61f99ce19b5ba08639eeff.zip |
Extract channel_do_open_actions() from non-open _change_state cases
This reduces the size of the largest SCC in the callgraph by 30
functions, from 58 to 28.
Diffstat (limited to 'src/or/channel.h')
-rw-r--r-- | src/or/channel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/channel.h b/src/or/channel.h index 33dceb1be0..803ab6c4ac 100644 --- a/src/or/channel.h +++ b/src/or/channel.h @@ -436,6 +436,7 @@ void channel_listener_free(channel_listener_t *chan_l); /* State/metadata setters */ void channel_change_state(channel_t *chan, channel_state_t to_state); +void channel_change_state_open(channel_t *chan); void channel_clear_identity_digest(channel_t *chan); void channel_clear_remote_end(channel_t *chan); void channel_mark_local(channel_t *chan); |