const char *username,
const char *password,
struct cli_pipe_auth_data **presult);
-NTSTATUS rpc_pipe_open_tcp_port(TALLOC_CTX *mem_ctx, const char *host,
- uint16_t port,
- const struct ndr_syntax_id *abstract_syntax,
- struct rpc_pipe_client **presult);
-NTSTATUS rpc_pipe_get_tcp_port(const char *host,
- const struct ndr_syntax_id *abstract_syntax,
- uint16_t *pport);
NTSTATUS rpc_pipe_open_tcp(TALLOC_CTX *mem_ctx, const char *host,
const struct ndr_syntax_id *abstract_syntax,
struct rpc_pipe_client **presult);
/**
* Create an rpc pipe client struct, connecting to a tcp port.
*/
-NTSTATUS rpc_pipe_open_tcp_port(TALLOC_CTX *mem_ctx, const char *host,
- uint16_t port,
- const struct ndr_syntax_id *abstract_syntax,
- struct rpc_pipe_client **presult)
+static NTSTATUS rpc_pipe_open_tcp_port(TALLOC_CTX *mem_ctx, const char *host,
+ uint16_t port,
+ const struct ndr_syntax_id *abstract_syntax,
+ struct rpc_pipe_client **presult)
{
struct rpc_pipe_client *result;
struct sockaddr_storage addr;
* for the ncacn_ip_tcp transport via the endpoint mapper of the
* target host.
*/
-NTSTATUS rpc_pipe_get_tcp_port(const char *host,
- const struct ndr_syntax_id *abstract_syntax,
- uint16_t *pport)
+static NTSTATUS rpc_pipe_get_tcp_port(const char *host,
+ const struct ndr_syntax_id *abstract_syntax,
+ uint16_t *pport)
{
NTSTATUS status;
struct rpc_pipe_client *epm_pipe = NULL;