summaryrefslogtreecommitdiffstats
path: root/source4/lib/socket/socket.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-07 16:04:17 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:48:46 +0100
commit01d2acfdb4c4c0349a28a18c5c0da5b960b02791 (patch)
tree7a8ae7ae55fa531212d67275f8ebfb8e9c74a205 /source4/lib/socket/socket.h
parent0b4fab2f6047f03221314f82229647d6662464e0 (diff)
downloadsamba-01d2acfdb4c4c0349a28a18c5c0da5b960b02791.tar.gz
samba-01d2acfdb4c4c0349a28a18c5c0da5b960b02791.tar.xz
samba-01d2acfdb4c4c0349a28a18c5c0da5b960b02791.zip
r26335: Specify name_resolve_order to socket code.
(This used to be commit b03e5d00110be3f1fe5809dad4eb6ca5cea7463d)
Diffstat (limited to 'source4/lib/socket/socket.h')
-rw-r--r--source4/lib/socket/socket.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/source4/lib/socket/socket.h b/source4/lib/socket/socket.h
index 7679db08a1c..24bc5f1aacd 100644
--- a/source4/lib/socket/socket.h
+++ b/source4/lib/socket/socket.h
@@ -178,17 +178,21 @@ struct composite_context *socket_connect_send(struct socket_context *sock,
struct socket_address *my_address,
struct socket_address *server_address,
uint32_t flags,
+ const char **name_resolve_order,
struct event_context *event_ctx);
NTSTATUS socket_connect_recv(struct composite_context *ctx);
NTSTATUS socket_connect_ev(struct socket_context *sock,
struct socket_address *my_address,
struct socket_address *server_address,
- uint32_t flags, struct event_context *ev);
+ uint32_t flags,
+ const char **name_resolve_order,
+ struct event_context *ev);
struct composite_context *socket_connect_multi_send(TALLOC_CTX *mem_ctx,
const char *server_address,
int num_server_ports,
uint16_t *server_ports,
+ const char **name_resolve_order,
struct event_context *event_ctx);
NTSTATUS socket_connect_multi_recv(struct composite_context *ctx,
TALLOC_CTX *mem_ctx,
@@ -196,6 +200,7 @@ NTSTATUS socket_connect_multi_recv(struct composite_context *ctx,
uint16_t *port);
NTSTATUS socket_connect_multi(TALLOC_CTX *mem_ctx, const char *server_address,
int num_server_ports, uint16_t *server_ports,
+ const char **name_resolve_order,
struct event_context *event_ctx,
struct socket_context **result,
uint16_t *port);