summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-05-20 18:08:41 +0200
committerMichael Adam <obnox@samba.org>2008-05-22 11:29:57 +0200
commitb398a96b09af5268e71bd3108f6c1e97568736f8 (patch)
tree5f00890e3310cc3baa062294d71394c30df5de3a /source3/include
parent59a6b2df747796dadebf92001a32cba0e6a80252 (diff)
downloadsamba-b398a96b09af5268e71bd3108f6c1e97568736f8.tar.gz
samba-b398a96b09af5268e71bd3108f6c1e97568736f8.tar.bz2
samba-b398a96b09af5268e71bd3108f6c1e97568736f8.zip
rpc_client: use endpoint mapper to get the port for rpc_pipe_open_tcp().
Michael (This used to be commit f7db445c828c0eef2c08b538bd07d485dc248689)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index f76e43ac64..03a7f918c0 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -7061,8 +7061,14 @@ NTSTATUS rpccli_kerberos_bind_data(TALLOC_CTX *mem_ctx,
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,
- uint16_t port,
const struct ndr_syntax_id *abstract_syntax,
struct rpc_pipe_client **presult);
NTSTATUS rpc_pipe_open_ncalrpc(TALLOC_CTX *mem_ctx, const char *socket_path,