summaryrefslogtreecommitdiffstats
path: root/manage.h
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2007-10-22 19:12:54 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2007-10-22 19:12:54 +0000
commit1184b82454776eb075d01c308870697a1668612d (patch)
treebf1a83537d477cee76d5c27e997f2372a8503056 /manage.h
parentb1f27cb0d151e9617f822afa2eb3c238b2b55ceb (diff)
downloadopenvpn-1184b82454776eb075d01c308870697a1668612d.tar.gz
openvpn-1184b82454776eb075d01c308870697a1668612d.tar.xz
openvpn-1184b82454776eb075d01c308870697a1668612d.zip
Added --management-signal option to signal SIGUSR1 when the management
interface disconnects (Alon Bar-Lev). git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@2413 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'manage.h')
-rw-r--r--manage.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/manage.h b/manage.h
index 445f710..20b15d2 100644
--- a/manage.h
+++ b/manage.h
@@ -205,6 +205,7 @@ struct man_settings {
int state_buffer_size;
bool server;
bool hold;
+ bool signal_on_disconnect;
bool connect_as_client;
char *write_peer_info_file;
@@ -281,6 +282,7 @@ bool management_open (struct management *man,
const int echo_buffer_size,
const int state_buffer_size,
const bool hold,
+ const bool signal_on_disconnect,
const bool connect_as_client,
const char *write_peer_info_file,
const int remap_sigusr1);