summaryrefslogtreecommitdiffstats
path: root/socket.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 /socket.c
parent49eb050d55dd42d8e3bf0ed0c2b7452e268f8862 (diff)
downloadopenvpn-4f404ad36df1874d2580abc33e5c300222ec44b0.tar.gz
openvpn-4f404ad36df1874d2580abc33e5c300222ec44b0.tar.xz
openvpn-4f404ad36df1874d2580abc33e5c300222ec44b0.zip
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 'socket.c')
-rw-r--r--socket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/socket.c b/socket.c
index 6bc8530..38b0c15 100644
--- a/socket.c
+++ b/socket.c
@@ -712,7 +712,7 @@ socket_bind (socket_descriptor_t sd,
gc_free (&gc);
}
-static int
+int
openvpn_connect (socket_descriptor_t sd,
struct openvpn_sockaddr *remote,
int connect_timeout,
@@ -785,7 +785,7 @@ openvpn_connect (socket_descriptor_t sd,
return status;
}
-static void
+void
socket_connect (socket_descriptor_t *sd,
struct openvpn_sockaddr *local,
bool bind_local,