summaryrefslogtreecommitdiff
path: root/source3/rpc_client
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
commita6ddf9bf5d2258a26f6cb5d1913ebc949678f216 (patch)
tree87429683542f8aa72cf793627fc3ddaed8566713 /source3/rpc_client
parentc4046b0e883de51d211a83adcc08b7497237dc6e (diff)
downloadsamba-a6ddf9bf5d2258a26f6cb5d1913ebc949678f216.tar.gz
samba-a6ddf9bf5d2258a26f6cb5d1913ebc949678f216.tar.bz2
samba-a6ddf9bf5d2258a26f6cb5d1913ebc949678f216.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 (This used to be commit c4788f0c1398feb098f131aa5c4d0398d7489527)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_reg.c51
1 files changed, 0 insertions, 51 deletions
diff --git a/source3/rpc_client/cli_reg.c b/source3/rpc_client/cli_reg.c
index e136df753a..6a544bba64 100644
--- a/source3/rpc_client/cli_reg.c
+++ b/source3/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
****************************************************************************/