From cca96e47268d32e12e1b6b9a187f3096efa12b29 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 23 May 2011 16:00:30 +0200 Subject: s3-rpc_server: Added common function to create tcpip socket. --- source3/include/proto.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include/proto.h') diff --git a/source3/include/proto.h b/source3/include/proto.h index 095c52c7c0..2619e7bbde 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -793,6 +793,7 @@ int get_remote_hostname(const struct tsocket_address *remote_address, int create_pipe_sock(const char *socket_dir, const char *socket_name, mode_t dir_perms); +int create_tcpip_socket(const struct sockaddr_storage *ifss, uint16_t *port); const char *get_mydnsfullname(void); bool is_myname_or_ipaddr(const char *s); struct tevent_req *getaddrinfo_send(TALLOC_CTX *mem_ctx, -- cgit