diff options
author | Volker Lendecke <vl@samba.org> | 2008-04-19 23:27:35 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-04-20 00:14:26 +0200 |
commit | e1102b8f48aeebe7d4e730d2b432a1503b425210 (patch) | |
tree | 3179083bb844b6537f3a88c1df2100f51fb6fc81 /source3/rpc_client | |
parent | 9048cafbeaf82d1916de6538024fd660612dd25f (diff) | |
download | samba-e1102b8f48aeebe7d4e730d2b432a1503b425210.tar.gz samba-e1102b8f48aeebe7d4e730d2b432a1503b425210.tar.bz2 samba-e1102b8f48aeebe7d4e730d2b432a1503b425210.zip |
Introduce rpccli_set_timeout()
Reduce dependency on "cli" member of rpc_pipe_client struct
(This used to be commit 2e4c1ba38963cffe4c3f25ab24bc28975f2fc291)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r-- | source3/rpc_client/cli_pipe.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c index 3ef3f05cc6..64fcc16bde 100644 --- a/source3/rpc_client/cli_pipe.c +++ b/source3/rpc_client/cli_pipe.c @@ -2173,6 +2173,12 @@ static NTSTATUS rpc_pipe_bind(struct rpc_pipe_client *cli, return NT_STATUS_OK; } +unsigned int rpccli_set_timeout(struct rpc_pipe_client *cli, + unsigned int timeout) +{ + return cli_set_timeout(cli->cli, timeout); +} + /**************************************************************************** Open a named pipe over SMB to a remote server. * |