* The port is determined by asking the endpoint mapper on the given
* host.
*/
-NTSTATUS rpc_pipe_open_tcp(TALLOC_CTX *mem_ctx, const char *host,
- const struct sockaddr_storage *addr,
- const struct ndr_interface_table *table,
- struct rpc_pipe_client **presult)
+static NTSTATUS rpc_pipe_open_tcp(
+ TALLOC_CTX *mem_ctx,
+ const char *host,
+ const struct sockaddr_storage *addr,
+ const struct ndr_interface_table *table,
+ struct rpc_pipe_client **presult)
{
NTSTATUS status;
uint16_t port = 0;
NTSTATUS rpccli_anon_bind_data(TALLOC_CTX *mem_ctx,
struct pipe_auth_data **presult);
-NTSTATUS rpc_pipe_open_tcp(TALLOC_CTX *mem_ctx,
- const char *host,
- const struct sockaddr_storage *ss_addr,
- const struct ndr_interface_table *table,
- struct rpc_pipe_client **presult);
-
NTSTATUS rpc_pipe_open_ncalrpc(TALLOC_CTX *mem_ctx,
const struct ndr_interface_table *table,
struct rpc_pipe_client **presult);