s3-rpc_server: Added common function to create tcpip socket.
[mat/samba.git] / source3 / include / proto.h
index 095c52c7c0ad5a325d3f2d41c61b85aa18780c83..2619e7bbdeb044846aca9c1f71e46dc5aa81383e 100644 (file)
@@ -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,