diff options
author | Volker Lendecke <vlendec@samba.org> | 2005-10-24 09:34:12 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:45:12 -0500 |
commit | d6e070b74af8891c5e6ee15d57f8c0db3aac2f14 (patch) | |
tree | 8fcc8ec487b6cd8443b10760d3e487a6462a1fa3 /source4/lib/socket/socket.h | |
parent | ef57650d6e47ead5b56934d0d38eefb389f364f5 (diff) | |
download | samba-d6e070b74af8891c5e6ee15d57f8c0db3aac2f14.tar.gz samba-d6e070b74af8891c5e6ee15d57f8c0db3aac2f14.tar.bz2 samba-d6e070b74af8891c5e6ee15d57f8c0db3aac2f14.zip |
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)
Diffstat (limited to 'source4/lib/socket/socket.h')
-rw-r--r-- | source4/lib/socket/socket.h | 8 |
1 files changed, 8 insertions, 0 deletions
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, |