From bffbee263f0be03af2a076f32b2a17edd2443eca Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 6 Feb 2008 13:08:32 +0100 Subject: Remove unused marshalling for SAMR_SET_GROUPINFO. Guenther (This used to be commit 2bcc01fd134ceff1a45311dec73a5db9397033f9) --- source3/rpc_parse/parse_samr.c | 71 ------------------------------------------ 1 file changed, 71 deletions(-) (limited to 'source3/rpc_parse') diff --git a/source3/rpc_parse/parse_samr.c b/source3/rpc_parse/parse_samr.c index 26b5b1c545..dad35ec0e1 100644 --- a/source3/rpc_parse/parse_samr.c +++ b/source3/rpc_parse/parse_samr.c @@ -1537,77 +1537,6 @@ static bool samr_group_info_ctr(const char *desc, GROUP_INFO_CTR **ctr, return True; } -/******************************************************************* -inits a SAMR_Q_SET_GROUPINFO structure. -********************************************************************/ - -void init_samr_q_set_groupinfo(SAMR_Q_SET_GROUPINFO * q_e, - POLICY_HND *pol, GROUP_INFO_CTR * ctr) -{ - DEBUG(5, ("init_samr_q_set_groupinfo\n")); - - q_e->pol = *pol; - q_e->ctr = ctr; -} - -/******************************************************************* -reads or writes a structure. -********************************************************************/ - -bool samr_io_q_set_groupinfo(const char *desc, SAMR_Q_SET_GROUPINFO * q_e, - prs_struct *ps, int depth) -{ - if (q_e == NULL) - return False; - - prs_debug(ps, depth, desc, "samr_io_q_set_groupinfo"); - depth++; - - if(!prs_align(ps)) - return False; - - if(!smb_io_pol_hnd("pol", &q_e->pol, ps, depth)) - return False; - - if(!samr_group_info_ctr("ctr", &q_e->ctr, ps, depth)) - return False; - - return True; -} - -/******************************************************************* -inits a SAMR_R_SET_GROUPINFO structure. -********************************************************************/ - -void init_samr_r_set_groupinfo(SAMR_R_SET_GROUPINFO * r_u, NTSTATUS status) -{ - DEBUG(5, ("init_samr_r_set_groupinfo\n")); - - r_u->status = status; -} - -/******************************************************************* -reads or writes a structure. -********************************************************************/ - -bool samr_io_r_set_groupinfo(const char *desc, SAMR_R_SET_GROUPINFO * r_u, - prs_struct *ps, int depth) -{ - if (r_u == NULL) - return False; - - prs_debug(ps, depth, desc, "samr_io_r_set_groupinfo"); - 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_GROUPINFO structure. ********************************************************************/ -- cgit