diff options
author | Gerald Carter <jerry@samba.org> | 2006-09-20 15:58:48 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2006-09-20 15:58:48 +0000 |
commit | f061d2c0ac6ae1f2d48dc77edf820510cd846bf9 (patch) | |
tree | 24c7b3150fcd00255db05b036b1f2db84eef6990 /source/rpc_parse | |
parent | 9fafd5638e922430e3e5358f1e76744c58ea5058 (diff) | |
download | samba-f061d2c0ac6ae1f2d48dc77edf820510cd846bf9.tar.gz samba-f061d2c0ac6ae1f2d48dc77edf820510cd846bf9.tar.xz samba-f061d2c0ac6ae1f2d48dc77edf820510cd846bf9.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_parse')
-rw-r--r-- | source/rpc_parse/parse_reg.c | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/source/rpc_parse/parse_reg.c b/source/rpc_parse/parse_reg.c index 1820a595eda..06a2b190958 100644 --- a/source/rpc_parse/parse_reg.c +++ b/source/rpc_parse/parse_reg.c @@ -114,58 +114,6 @@ BOOL reg_io_r_open_hive(const char *desc, REG_R_OPEN_HIVE *r_u, } /******************************************************************* - Inits a structure. -********************************************************************/ - -void init_reg_q_flush_key(REG_Q_FLUSH_KEY *q_u, POLICY_HND *pol) -{ - memcpy(&q_u->pol, pol, sizeof(q_u->pol)); -} - -/******************************************************************* -reads or writes a structure. -********************************************************************/ - -BOOL reg_io_q_flush_key(const char *desc, REG_Q_FLUSH_KEY *q_u, prs_struct *ps, int depth) -{ - if ( !q_u ) - return False; - - prs_debug(ps, depth, desc, "reg_io_q_flush_key"); - depth++; - - if(!prs_align(ps)) - return False; - - if(!smb_io_pol_hnd("", &q_u->pol, ps, depth)) - return False; - - return True; -} - -/******************************************************************* -Unmarshalls a registry key flush response -********************************************************************/ - -BOOL reg_io_r_flush_key(const char *desc, REG_R_FLUSH_KEY *r_u, - prs_struct *ps, int depth) -{ - if ( !r_u ) - return False; - - prs_debug(ps, depth, desc, "reg_io_r_flush_key"); - depth++; - - if(!prs_align(ps)) - return False; - - if(!prs_werror("status", ps, depth, &r_u->status)) - return False; - - return True; -} - -/******************************************************************* reads or writes SEC_DESC_BUF and SEC_DATA structures. ********************************************************************/ |