From d6e070b74af8891c5e6ee15d57f8c0db3aac2f14 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 24 Oct 2005 09:34:12 +0000 Subject: r11274: Start a connection attempt to the DC's port 389. To do this properly, make socket_connect and ldap_connect properly async. Volker (This used to be commit bcc71fc1deeed443d7cf00220ce264011ddf588d) --- source4/lib/socket/socket.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source4/lib/socket/socket.h') diff --git a/source4/lib/socket/socket.h b/source4/lib/socket/socket.h index 27a1dfe041..8b109a3a42 100644 --- a/source4/lib/socket/socket.h +++ b/source4/lib/socket/socket.h @@ -140,6 +140,14 @@ BOOL socket_check_access(struct socket_context *sock, const char *service_name, const char **allow_list, const char **deny_list); +struct composite_context *socket_connect_send(struct socket_context *sock, + const char *my_address, + int my_port, + const char *server_address, + int server_port, + uint32_t flags, + struct event_context *event_ctx); +NTSTATUS socket_connect_recv(struct composite_context *ctx); NTSTATUS socket_connect_ev(struct socket_context *sock, const char *my_address, int my_port, const char *server_address, int server_port, -- cgit