diff options
author | Günther Deschner <gd@samba.org> | 2008-02-17 02:39:36 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-02-17 02:39:36 +0100 |
commit | 41e93135cf23e86660ec64430b8765c405505c08 (patch) | |
tree | 8b10f7faf33bbbd9499d5c6b568cc487b38b3b55 /source3/rpc_parse/parse_net.c | |
parent | 9519d95c4adbcc44abaf1288bcda0972d625036c (diff) | |
download | samba-41e93135cf23e86660ec64430b8765c405505c08.tar.gz samba-41e93135cf23e86660ec64430b8765c405505c08.tar.bz2 samba-41e93135cf23e86660ec64430b8765c405505c08.zip |
Remove unused marshalling for NET_AUTH. This must have been forgotten.
Guenther
(This used to be commit 7bbd64c16f8dda85275ddca0fd00849f890c6e4f)
Diffstat (limited to 'source3/rpc_parse/parse_net.c')
-rw-r--r-- | source3/rpc_parse/parse_net.c | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/source3/rpc_parse/parse_net.c b/source3/rpc_parse/parse_net.c index 70dc505c78..38ea7846b7 100644 --- a/source3/rpc_parse/parse_net.c +++ b/source3/rpc_parse/parse_net.c @@ -47,53 +47,6 @@ static bool net_io_neg_flags(const char *desc, NEG_FLAGS *neg, prs_struct *ps, i } /******************************************************************* - Reads or writes a structure. -********************************************************************/ - -bool net_io_q_auth(const char *desc, NET_Q_AUTH *q_a, prs_struct *ps, int depth) -{ - if (q_a == NULL) - return False; - - prs_debug(ps, depth, desc, "net_io_q_auth"); - depth++; - - if(!prs_align(ps)) - return False; - - if(!smb_io_log_info ("", &q_a->clnt_id, ps, depth)) /* client identification info */ - return False; - if(!smb_io_chal("", &q_a->clnt_chal, ps, depth)) - return False; - - return True; -} - -/******************************************************************* - Reads or writes a structure. -********************************************************************/ - -bool net_io_r_auth(const char *desc, NET_R_AUTH *r_a, prs_struct *ps, int depth) -{ - if (r_a == NULL) - return False; - - prs_debug(ps, depth, desc, "net_io_r_auth"); - depth++; - - if(!prs_align(ps)) - return False; - - if(!smb_io_chal("", &r_a->srv_chal, ps, depth)) /* server challenge */ - return False; - - if(!prs_ntstatus("status", ps, depth, &r_a->status)) - return False; - - return True; -} - -/******************************************************************* Inits a NET_Q_AUTH_3 struct. ********************************************************************/ |