summaryrefslogtreecommitdiff
path: root/source/rpc_client
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-03-05 10:40:52 +0100
committerKarolin Seeger <kseeger@bando.sernet.private>2008-03-31 14:20:57 +0200
commite1355ab4914eb33aa33b04b16c75325374b2e7b2 (patch)
tree08aaa4c88ed856130a76cdbd5f071ddef05e3dd5 /source/rpc_client
parentd420fdc452b4e153223fd28a66ecb77f9038d6bd (diff)
downloadsamba-e1355ab4914eb33aa33b04b16c75325374b2e7b2.tar.gz
Remove unused marshalling for SRV_NET_REMOTE_TOD.
Guenther (cherry picked from commit 9f0ea1d727046fef4c23bcf1e71d10f33c93b00f)
Diffstat (limited to 'source/rpc_client')
-rw-r--r--source/rpc_client/cli_srvsvc.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/source/rpc_client/cli_srvsvc.c b/source/rpc_client/cli_srvsvc.c
index 02e52b3a5a3..524678c1220 100644
--- a/source/rpc_client/cli_srvsvc.c
+++ b/source/rpc_client/cli_srvsvc.c
@@ -430,39 +430,6 @@ WERROR rpccli_srvsvc_net_share_add(struct rpc_pipe_client *cli, TALLOC_CTX *mem_
return result;
}
-WERROR rpccli_srvsvc_net_remote_tod(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
- char *server, TIME_OF_DAY_INFO *tod)
-{
- prs_struct qbuf, rbuf;
- SRV_Q_NET_REMOTE_TOD q;
- SRV_R_NET_REMOTE_TOD r;
- WERROR result = W_ERROR(ERRgeneral);
- fstring server_slash;
-
- ZERO_STRUCT(q);
- ZERO_STRUCT(r);
-
- /* Initialise input parameters */
-
- slprintf(server_slash, sizeof(fstring)-1, "\\\\%s", cli->cli->desthost);
- strupper_m(server_slash);
-
- init_srv_q_net_remote_tod(&q, server_slash);
- r.tod = tod;
-
- /* Marshall data and send request */
-
- CLI_DO_RPC_WERR(cli, mem_ctx, PI_SRVSVC, SRV_NET_REMOTE_TOD,
- q, r,
- qbuf, rbuf,
- srv_io_q_net_remote_tod,
- srv_io_r_net_remote_tod,
- WERR_GENERAL_FAILURE);
-
- result = r.status;
- return result;
-}
-
WERROR rpccli_srvsvc_net_file_enum(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
uint32 file_level, const char *user_name,
SRV_FILE_INFO_CTR *ctr, int preferred_len,