From 4f404ad36df1874d2580abc33e5c300222ec44b0 Mon Sep 17 00:00:00 2001 From: james Date: Mon, 23 Jan 2006 14:08:27 +0000 Subject: Added --management-client option to connect as a client to management GUI app rather than be connected to as a server. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@884 e7ae566f-a301-0410-adde-c780ea21d3b5 --- sig.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'sig.c') diff --git a/sig.c b/sig.c index 7279b82..7eb120e 100644 --- a/sig.c +++ b/sig.c @@ -100,6 +100,14 @@ throw_signal (const int signum) siginfo_static.hard = true; } +void +throw_signal_soft (const int signum, const char *signal_text) +{ + siginfo_static.signal_received = signum; + siginfo_static.hard = false; + siginfo_static.signal_text = signal_text; +} + static void signal_reset (struct signal_info *si) { -- cgit v1.2.3