diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-11-20 12:03:46 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-11-20 12:03:46 -0500 |
commit | 336c856e52d211aad6b40d29986264f3277a1327 (patch) | |
tree | f1b7930199642989c52161a1b5547e3417ede195 /src/or/main.h | |
parent | f15cd22bb7c8f4f7009417e50a827c5bcc656807 (diff) | |
download | tor-336c856e52d211aad6b40d29986264f3277a1327.tar.gz tor-336c856e52d211aad6b40d29986264f3277a1327.zip |
Make can_complete_circuits a static variable.
Diffstat (limited to 'src/or/main.h')
-rw-r--r-- | src/or/main.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/main.h b/src/or/main.h index e918517b82..7d98983100 100644 --- a/src/or/main.h +++ b/src/or/main.h @@ -12,7 +12,9 @@ #ifndef TOR_MAIN_H #define TOR_MAIN_H -extern int can_complete_circuit; +int have_completed_a_circuit(void); +void note_that_we_completed_a_circuit(void); +void note_that_we_maybe_cant_complete_circuits(void); int connection_add_impl(connection_t *conn, int is_connecting); #define connection_add(conn) connection_add_impl((conn), 0) |