From f810a1afe990788cd8f944a515a493902df84ed1 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 26 Apr 2011 15:20:08 -0400 Subject: 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. --- src/or/main.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/or/main.h') 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); -- cgit v1.2.3-54-g00ecf