diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-04-26 15:20:08 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-04-26 15:20:08 -0400 |
commit | f810a1afe990788cd8f944a515a493902df84ed1 (patch) | |
tree | 145e947530ebdc09476a7aa018ee76644e5f0eb3 /src/or/main.h | |
parent | a7a906603e0c7e3c8519a948b5adf43bfecf6f66 (diff) | |
download | tor-f810a1afe990788cd8f944a515a493902df84ed1.tar.gz tor-f810a1afe990788cd8f944a515a493902df84ed1.zip |
Expose a new process_signal(uintptr_t), not signal_callback()
This is a tweak to the bug2917 fix. Basically, if we want to simulate
a signal arriving in the controller, we shouldn't have to pretend that
we're Libevent, or depend on how Tor sets up its Libevent callbacks.
Diffstat (limited to 'src/or/main.h')
-rw-r--r-- | src/or/main.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/main.h b/src/or/main.h index 626bf1c43b..0551f7aaf9 100644 --- a/src/or/main.h +++ b/src/or/main.h @@ -47,7 +47,7 @@ void ip_address_changed(int at_interface); void dns_servers_relaunch_checks(void); void handle_signals(int is_parent); -void signal_callback(int fd, short events, void *arg); +void process_signal(uintptr_t sig); int try_locking(or_options_t *options, int err_if_locked); int have_lockfile(void); |