diff options
author | Günther Deschner <gd@samba.org> | 2008-03-07 23:47:40 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-03-07 23:51:34 +0100 |
commit | 2afae94936d4fbd3b1e804111bff1960c2b852bd (patch) | |
tree | 3a4374ee0cc96a1a27c3ddb60af2d968ef71a8da /source/rpc_parse | |
parent | 10d457152e8547646353f0f37f51ac92561505ef (diff) | |
download | samba-2afae94936d4fbd3b1e804111bff1960c2b852bd.tar.gz |
Remove unused marshalling for SRV_NET_SHARE_DEL.
Guenther
Diffstat (limited to 'source/rpc_parse')
-rw-r--r-- | source/rpc_parse/parse_srv.c | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/source/rpc_parse/parse_srv.c b/source/rpc_parse/parse_srv.c index a09e704bed6..44777db8af5 100644 --- a/source/rpc_parse/parse_srv.c +++ b/source/rpc_parse/parse_srv.c @@ -1522,70 +1522,6 @@ bool srv_io_r_net_share_add(const char *desc, SRV_R_NET_SHARE_ADD *r_n, prs_stru } /******************************************************************* - initialises a structure. -********************************************************************/ - -void init_srv_q_net_share_del(SRV_Q_NET_SHARE_DEL *del, const char *srvname, - const char *sharename) -{ - del->ptr_srv_name = 1; - init_unistr2(&del->uni_srv_name, srvname, UNI_STR_TERMINATE); - init_unistr2(&del->uni_share_name, sharename, UNI_STR_TERMINATE); -} - -/******************************************************************* - Reads or writes a structure. -********************************************************************/ - -bool srv_io_q_net_share_del(const char *desc, SRV_Q_NET_SHARE_DEL *q_n, prs_struct *ps, int depth) -{ - if (q_n == NULL) - return False; - - prs_debug(ps, depth, desc, "srv_io_q_net_share_del"); - depth++; - - if(!prs_align(ps)) - return False; - - if(!prs_uint32("ptr_srv_name", ps, depth, &q_n->ptr_srv_name)) - return False; - if(!smb_io_unistr2("", &q_n->uni_srv_name, True, ps, depth)) - return False; - - if(!smb_io_unistr2("", &q_n->uni_share_name, True, ps, depth)) - return False; - - if(!prs_align(ps)) - return False; - if(!prs_uint32("reserved", ps, depth, &q_n->reserved)) - return False; - - return True; -} - -/******************************************************************* - Reads or writes a structure. -********************************************************************/ - -bool srv_io_r_net_share_del(const char *desc, SRV_R_NET_SHARE_DEL *q_n, prs_struct *ps, int depth) -{ - if (q_n == NULL) - return False; - - prs_debug(ps, depth, desc, "srv_io_r_net_share_del"); - depth++; - - if(!prs_align(ps)) - return False; - - if(!prs_werror("status", ps, depth, &q_n->status)) - return False; - - return True; -} - -/******************************************************************* Inits a SESS_INFO_0_STR structure ********************************************************************/ |