aboutsummaryrefslogtreecommitdiff
path: root/manage.h
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2006-02-03 09:04:52 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2006-02-03 09:04:52 +0000
commit8d33c060282fedc26d46e02aeee98fb751330adb (patch)
tree51ec9482e012e08e93759fdde9329b76d60442bd /manage.h
parentAdded --management-client option to connect as a client to (diff)
downloadopenvpn-8d33c060282fedc26d46e02aeee98fb751330adb.tar.xz
Added feature to --management-client to confirm connection
by writing IP addr and port to a file. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@885 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'manage.h')
-rw-r--r--manage.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/manage.h b/manage.h
index 873bb42..d7ed79c 100644
--- a/manage.h
+++ b/manage.h
@@ -201,6 +201,7 @@ struct man_settings {
bool server;
bool hold;
bool connect_as_client;
+ char *write_peer_info_file;
};
/* up_query modes */
@@ -267,8 +268,8 @@ bool management_open (struct management *man,
const int echo_buffer_size,
const int state_buffer_size,
const bool hold,
- const bool connect_as_client);
-
+ const bool connect_as_client,
+ const char *write_peer_info_file);
void management_close (struct management *man);