summaryrefslogtreecommitdiffstats
path: root/source/rpc_client/cli_reg.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-09-20 15:58:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:00:51 -0500
commitc4788f0c1398feb098f131aa5c4d0398d7489527 (patch)
treec18a2eca7648a7442871bffa415af9bb3aa62f3a /source/rpc_client/cli_reg.c
parent8006cf962b4a33278414fcdf07bf94d739cb4aab (diff)
downloadsamba-c4788f0c1398feb098f131aa5c4d0398d7489527.tar.gz
samba-c4788f0c1398feb098f131aa5c4d0398d7489527.tar.xz
samba-c4788f0c1398feb098f131aa5c4d0398d7489527.zip
r18711: Replace the following hand code client routines:
* rpccli_reg_abort_shutdown() * rpccli_reg_flush_key() Remove the cmd_reg.c from rpcclient since the entire file was unused
Diffstat (limited to 'source/rpc_client/cli_reg.c')
-rw-r--r--source/rpc_client/cli_reg.c51
1 files changed, 0 insertions, 51 deletions
diff --git a/source/rpc_client/cli_reg.c b/source/rpc_client/cli_reg.c
index e136df753ad..6a544bba64c 100644
--- a/source/rpc_client/cli_reg.c
+++ b/source/rpc_client/cli_reg.c
@@ -131,57 +131,6 @@ WERROR rpccli_reg_shutdown(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
return out.status;
}
-/*******************************************************************
-*******************************************************************/
-
-WERROR rpccli_reg_abort_shutdown(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx)
-{
- REG_Q_ABORT_SHUTDOWN in;
- REG_R_ABORT_SHUTDOWN out;
- prs_struct qbuf, rbuf;
-
- ZERO_STRUCT (in);
- ZERO_STRUCT (out);
-
- CLI_DO_RPC_WERR( cli, mem_ctx, PI_WINREG, REG_ABORT_SHUTDOWN,
- in, out,
- qbuf, rbuf,
- reg_io_q_abort_shutdown,
- reg_io_r_abort_shutdown,
- WERR_GENERAL_FAILURE );
-
- return out.status;
-}
-
-
-/****************************************************************************
-do a REG Unknown 0xB command. sent after a create key or create value.
-this might be some sort of "sync" or "refresh" command, sent after
-modification of the registry...
-****************************************************************************/
-
-WERROR rpccli_reg_flush_key(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
- POLICY_HND *hnd)
-{
- REG_Q_FLUSH_KEY in;
- REG_R_FLUSH_KEY out;
- prs_struct qbuf, rbuf;
-
- ZERO_STRUCT (in);
- ZERO_STRUCT (out);
-
- init_reg_q_flush_key(&in, hnd);
-
- CLI_DO_RPC_WERR( cli, mem_ctx, PI_WINREG, REG_FLUSH_KEY,
- in, out,
- qbuf, rbuf,
- reg_io_q_flush_key,
- reg_io_r_flush_key,
- WERR_GENERAL_FAILURE );
-
- return out.status;
-}
-
/****************************************************************************
do a REG Query Key
****************************************************************************/