diff options
author | Günther Deschner <gd@samba.org> | 2008-01-30 12:54:11 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-01-31 11:20:26 +0100 |
commit | d1f545062535b67a62c69ccb4440ecad069cfe93 (patch) | |
tree | d5bdfbfce6046f79feced3d1ce3aba3dfd251322 /source3/rpc_parse/parse_samr.c | |
parent | 3d507a2fcab9da3d9ba928fbe1d30f2642ab4e93 (diff) | |
download | samba-d1f545062535b67a62c69ccb4440ecad069cfe93.tar.gz samba-d1f545062535b67a62c69ccb4440ecad069cfe93.tar.bz2 samba-d1f545062535b67a62c69ccb4440ecad069cfe93.zip |
Remove unused samr_close marshalling.
Guenther
(This used to be commit 93d2ad944772513520de22aecffda15f38907b4e)
Diffstat (limited to 'source3/rpc_parse/parse_samr.c')
-rw-r--r-- | source3/rpc_parse/parse_samr.c | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/source3/rpc_parse/parse_samr.c b/source3/rpc_parse/parse_samr.c index 23add3dffd..0e01da59ec 100644 --- a/source3/rpc_parse/parse_samr.c +++ b/source3/rpc_parse/parse_samr.c @@ -29,61 +29,6 @@ #define DBGC_CLASS DBGC_RPC_PARSE /******************************************************************* -inits a SAMR_Q_CLOSE_HND structure. -********************************************************************/ - -void init_samr_q_close_hnd(SAMR_Q_CLOSE_HND * q_c, POLICY_HND *hnd) -{ - DEBUG(5, ("init_samr_q_close_hnd\n")); - - q_c->pol = *hnd; -} - -/******************************************************************* -reads or writes a structure. -********************************************************************/ - -bool samr_io_q_close_hnd(const char *desc, SAMR_Q_CLOSE_HND * q_u, - prs_struct *ps, int depth) -{ - if (q_u == NULL) - return False; - - prs_debug(ps, depth, desc, "samr_io_q_close_hnd"); - depth++; - - if(!prs_align(ps)) - return False; - - return smb_io_pol_hnd("pol", &q_u->pol, ps, depth); -} - -/******************************************************************* -reads or writes a structure. -********************************************************************/ - -bool samr_io_r_close_hnd(const char *desc, SAMR_R_CLOSE_HND * r_u, - prs_struct *ps, int depth) -{ - if (r_u == NULL) - return False; - - prs_debug(ps, depth, desc, "samr_io_r_close_hnd"); - depth++; - - if(!prs_align(ps)) - return False; - - if(!smb_io_pol_hnd("pol", &r_u->pol, ps, depth)) - return False; - - if(!prs_ntstatus("status", ps, depth, &r_u->status)) - return False; - - return True; -} - -/******************************************************************* inits a SAMR_Q_LOOKUP_DOMAIN structure. ********************************************************************/ |