diff options
author | Günther Deschner <gd@samba.org> | 2009-09-08 15:32:24 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-09-08 17:07:03 +0200 |
commit | a48f884f705de2d08250e00400ae20cd8c677033 (patch) | |
tree | d7662d0b13b9676d5c50d4c410f06aeb9c9dcfc9 /source3/rpc_parse | |
parent | 3984738646eaa91c9d03b28f8a535d6eed79c0be (diff) | |
download | samba-a48f884f705de2d08250e00400ae20cd8c677033.tar.gz samba-a48f884f705de2d08250e00400ae20cd8c677033.tar.bz2 samba-a48f884f705de2d08250e00400ae20cd8c677033.zip |
s3: remove unused RPC_AUTH_SCHANNEL_NEG struct and parsing functions.
Guenther
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r-- | source3/rpc_parse/parse_rpc.c | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/source3/rpc_parse/parse_rpc.c b/source3/rpc_parse/parse_rpc.c index 651a5915b8..2e7216c3ca 100644 --- a/source3/rpc_parse/parse_rpc.c +++ b/source3/rpc_parse/parse_rpc.c @@ -571,47 +571,6 @@ bool smb_io_rpc_schannel_verifier(const char *desc, RPC_AUTH_VERIFIER *rav, prs_ } /******************************************************************* -creates an RPC_AUTH_SCHANNEL_NEG structure. -********************************************************************/ - -void init_rpc_auth_schannel_neg(RPC_AUTH_SCHANNEL_NEG *neg, - const char *domain, const char *myname) -{ - neg->type1 = 0; - neg->type2 = 0x3; - fstrcpy(neg->domain, domain); - fstrcpy(neg->myname, myname); -} - -/******************************************************************* - Reads or writes an RPC_AUTH_SCHANNEL_NEG structure. -********************************************************************/ - -bool smb_io_rpc_auth_schannel_neg(const char *desc, RPC_AUTH_SCHANNEL_NEG *neg, - prs_struct *ps, int depth) -{ - if (neg == NULL) - return False; - - prs_debug(ps, depth, desc, "smb_io_rpc_auth_schannel_neg"); - depth++; - - if(!prs_align(ps)) - return False; - - if(!prs_uint32("type1", ps, depth, &neg->type1)) - return False; - if(!prs_uint32("type2", ps, depth, &neg->type2)) - return False; - if(!prs_string("domain ", ps, depth, neg->domain, sizeof(neg->domain))) - return False; - if(!prs_string("myname ", ps, depth, neg->myname, sizeof(neg->myname))) - return False; - - return True; -} - -/******************************************************************* reads or writes an RPC_AUTH_SCHANNEL_CHK structure. ********************************************************************/ |