aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-08-17 23:00:32 +0000
committerNick Mathewson <nickm@torproject.org>2006-08-17 23:00:32 +0000
commit0f5bfc1521afaa096df2ff66651f7f0a4f8be88a (patch)
tree6691fb9539bb685f0bde95720b209e22b2a8af7f /src/or/or.h
parentae5ee4c92436d8e7c5ac1853c42be4dd5a314f01 (diff)
downloadtor-0f5bfc1521afaa096df2ff66651f7f0a4f8be88a.tar
tor-0f5bfc1521afaa096df2ff66651f7f0a4f8be88a.tar.gz
r7411@Kushana: nickm | 2006-08-17 19:00:25 -0400
patch suggested by Karsten Loesing: respond to SIGNAL command before we execute the signal, in case the signal shuts us down. svn:r7072
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 4175b24e6..44d8c851d 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -2174,7 +2174,8 @@ void connection_start_writing(connection_t *conn);
void directory_all_unreachable(time_t now);
void directory_info_has_arrived(time_t now, int from_cache);
-int control_signal_act(int the_signal);
+int control_signal_check(int the_signal);
+void control_signal_act(int the_signal);
void handle_signals(int is_parent);
void tor_cleanup(void);
void tor_free_all(int postfork);