diff options
author | Günther Deschner <gd@samba.org> | 2008-02-04 23:44:11 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-02-05 10:01:35 +0100 |
commit | 30857dbf26d06ff3d38114b70e6f594f8ba51554 (patch) | |
tree | 6cec1b0337b6c026d5408c42382b0a4a0d7790c0 /source3/rpc_parse | |
parent | f22e45c8a2eca7c6b87c278a8f66629a97a9a7fb (diff) | |
download | samba-30857dbf26d06ff3d38114b70e6f594f8ba51554.tar.gz samba-30857dbf26d06ff3d38114b70e6f594f8ba51554.tar.bz2 samba-30857dbf26d06ff3d38114b70e6f594f8ba51554.zip |
Remove unused marshalling for SAMR_ADD_ALIASMEM.
Guenther
(This used to be commit 27e0b6a1aa94294588b2c18ed7929edb0289e746)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r-- | source3/rpc_parse/parse_samr.c | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/source3/rpc_parse/parse_samr.c b/source3/rpc_parse/parse_samr.c index aafb49e2ec..fb3994a1d2 100644 --- a/source3/rpc_parse/parse_samr.c +++ b/source3/rpc_parse/parse_samr.c @@ -3599,65 +3599,6 @@ bool samr_io_r_lookup_rids(const char *desc, SAMR_R_LOOKUP_RIDS * r_u, } /******************************************************************* -inits a SAMR_Q_ADD_ALIASMEM structure. -********************************************************************/ - -void init_samr_q_add_aliasmem(SAMR_Q_ADD_ALIASMEM * q_u, POLICY_HND *hnd, - DOM_SID *sid) -{ - DEBUG(5, ("init_samr_q_add_aliasmem\n")); - - q_u->alias_pol = *hnd; - init_dom_sid2(&q_u->sid, sid); -} - -/******************************************************************* -reads or writes a structure. -********************************************************************/ - -bool samr_io_q_add_aliasmem(const char *desc, SAMR_Q_ADD_ALIASMEM * q_u, - prs_struct *ps, int depth) -{ - if (q_u == NULL) - return False; - - prs_debug(ps, depth, desc, "samr_io_q_add_aliasmem"); - depth++; - - if(!prs_align(ps)) - return False; - - if(!smb_io_pol_hnd("alias_pol", &q_u->alias_pol, ps, depth)) - return False; - if(!smb_io_dom_sid2("sid ", &q_u->sid, ps, depth)) - return False; - - return True; -} - -/******************************************************************* -reads or writes a structure. -********************************************************************/ - -bool samr_io_r_add_aliasmem(const char *desc, SAMR_R_ADD_ALIASMEM * r_u, - prs_struct *ps, int depth) -{ - if (r_u == NULL) - return False; - - prs_debug(ps, depth, desc, "samr_io_r_add_aliasmem"); - depth++; - - if(!prs_align(ps)) - return False; - - if(!prs_ntstatus("status", ps, depth, &r_u->status)) - return False; - - return True; -} - -/******************************************************************* inits a SAMR_Q_QUERY_ALIASMEM structure. ********************************************************************/ |