aboutsummaryrefslogtreecommitdiff
path: root/socket.h
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2009-04-10 21:33:14 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2009-04-10 21:33:14 +0000
commit86f5c7c9d540096bcabf33b49303090e6638a99d (patch)
tree490c413b24e0416e2d6c8c560dacf063f4813539 /socket.h
parentAdded the ability to read the configuration file (diff)
downloadopenvpn-86f5c7c9d540096bcabf33b49303090e6638a99d.tar.xz
Allow "management-client" directive to be used
with unix domain sockets. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@4128 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'socket.h')
-rw-r--r--socket.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/socket.h b/socket.h
index a8c7097..84d9b4f 100644
--- a/socket.h
+++ b/socket.h
@@ -421,6 +421,9 @@ void socket_bind_unix (socket_descriptor_t sd,
socket_descriptor_t socket_accept_unix (socket_descriptor_t sd,
struct sockaddr_un *remote);
+int socket_connect_unix (socket_descriptor_t sd,
+ struct sockaddr_un *remote);
+
void sockaddr_unix_init (struct sockaddr_un *local, const char *path);
const char *sockaddr_unix_name (const struct sockaddr_un *local, const char *null);