aboutsummaryrefslogtreecommitdiff
path: root/sig.c
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2006-01-23 14:08:27 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2006-01-23 14:08:27 +0000
commit4f404ad36df1874d2580abc33e5c300222ec44b0 (patch)
treebeb2bd6edbfbfe3e0bd3c0310cf297aa74a299ba /sig.c
parentpkcs11 fixes. (diff)
downloadopenvpn-4f404ad36df1874d2580abc33e5c300222ec44b0.tar.xz
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
Diffstat (limited to '')
-rw-r--r--sig.c8
1 files changed, 8 insertions, 0 deletions
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)
{