diff options
author | Günther Deschner <gd@samba.org> | 2008-03-04 23:26:27 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@bando.sernet.private> | 2008-03-31 14:20:51 +0200 |
commit | 040983432f3515194d00715ef1773fa8cfe5467e (patch) | |
tree | f2a788186b58179a7c2f6ac7018964c50c999b75 /source/rpc_client | |
parent | d78e1e2be0f66ddf687bbea81efe0b192d60ecc7 (diff) | |
download | samba-040983432f3515194d00715ef1773fa8cfe5467e.tar.gz samba-040983432f3515194d00715ef1773fa8cfe5467e.tar.xz samba-040983432f3515194d00715ef1773fa8cfe5467e.zip |
Remove unused marshalling for SRV_NET_SRV_GET_INFO.
Guenther
(cherry picked from commit 53a7e9b07d07d3e9d21360dee35fee27b46929b3)
Diffstat (limited to 'source/rpc_client')
-rw-r--r-- | source/rpc_client/cli_srvsvc.c | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/source/rpc_client/cli_srvsvc.c b/source/rpc_client/cli_srvsvc.c index e5d9b4cdadd..02e52b3a5a3 100644 --- a/source/rpc_client/cli_srvsvc.c +++ b/source/rpc_client/cli_srvsvc.c @@ -24,40 +24,6 @@ #include "includes.h" -WERROR rpccli_srvsvc_net_srv_get_info(struct rpc_pipe_client *cli, - TALLOC_CTX *mem_ctx, - uint32 switch_value, SRV_INFO_CTR *ctr) -{ - prs_struct qbuf, rbuf; - SRV_Q_NET_SRV_GET_INFO q; - SRV_R_NET_SRV_GET_INFO r; - WERROR result = W_ERROR(ERRgeneral); - fstring server; - - ZERO_STRUCT(q); - ZERO_STRUCT(r); - - /* Initialise input parameters */ - - slprintf(server, sizeof(fstring)-1, "\\\\%s", cli->cli->desthost); - strupper_m(server); - - init_srv_q_net_srv_get_info(&q, server, switch_value); - r.ctr = ctr; - - /* Marshall data and send request */ - - CLI_DO_RPC_WERR(cli, mem_ctx, PI_SRVSVC, SRV_NET_SRV_GET_INFO, - q, r, - qbuf, rbuf, - srv_io_q_net_srv_get_info, - srv_io_r_net_srv_get_info, - WERR_GENERAL_FAILURE); - - result = r.status; - return result; -} - WERROR rpccli_srvsvc_net_share_enum(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, uint32 info_level, SRV_SHARE_INFO_CTR *ctr, int preferred_len, ENUM_HND *hnd) |