diff options
author | Günther Deschner <gd@samba.org> | 2009-03-23 12:45:09 +0100 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2010-07-07 23:45:50 -0400 |
commit | dc6e0cedfcdd7ca0d9b7a13ecbc3e8520ddcc8f0 (patch) | |
tree | 331d938e2206416efa13cc0335056cb7740d5c78 | |
parent | d6de820480ce5db4b786a66886a5e255344acd43 (diff) | |
download | samba-dc6e0cedfcdd7ca0d9b7a13ecbc3e8520ddcc8f0.tar.gz samba-dc6e0cedfcdd7ca0d9b7a13ecbc3e8520ddcc8f0.tar.bz2 samba-dc6e0cedfcdd7ca0d9b7a13ecbc3e8520ddcc8f0.zip |
s3-dcerpc: remove unused smb_io_rpc_hdr_fault.
Guenther
Signed-off-by: Simo Sorce <idra@samba.org>
-rw-r--r-- | source3/include/proto.h | 1 | ||||
-rw-r--r-- | source3/rpc_parse/parse_rpc.c | 20 |
2 files changed, 0 insertions, 21 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index a998becfbe..35229c836b 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -5092,7 +5092,6 @@ bool smb_io_rpc_hdr_ba(const char *desc, RPC_HDR_BA *rpc, prs_struct *ps, int de void init_rpc_hdr_req(RPC_HDR_REQ *hdr, uint32 alloc_hint, uint16 opnum); bool smb_io_rpc_hdr_req(const char *desc, RPC_HDR_REQ *rpc, prs_struct *ps, int depth); bool smb_io_rpc_hdr_resp(const char *desc, RPC_HDR_RESP *rpc, prs_struct *ps, int depth); -bool smb_io_rpc_hdr_fault(const char *desc, RPC_HDR_FAULT *rpc, prs_struct *ps, int depth); void init_rpc_hdr_auth(RPC_HDR_AUTH *rai, uint8 auth_type, uint8 auth_level, uint8 auth_pad_len, diff --git a/source3/rpc_parse/parse_rpc.c b/source3/rpc_parse/parse_rpc.c index 441a00b1ea..a671c711b4 100644 --- a/source3/rpc_parse/parse_rpc.c +++ b/source3/rpc_parse/parse_rpc.c @@ -443,26 +443,6 @@ bool smb_io_rpc_hdr_resp(const char *desc, RPC_HDR_RESP *rpc, prs_struct *ps, in } /******************************************************************* - Reads or writes an RPC_HDR_FAULT structure. -********************************************************************/ - -bool smb_io_rpc_hdr_fault(const char *desc, RPC_HDR_FAULT *rpc, prs_struct *ps, int depth) -{ - if (rpc == NULL) - return False; - - prs_debug(ps, depth, desc, "smb_io_rpc_hdr_fault"); - depth++; - - if(!prs_dcerpc_status("status ", ps, depth, &rpc->status)) - return False; - if(!prs_uint32("reserved", ps, depth, &rpc->reserved)) - return False; - - return True; -} - -/******************************************************************* Inits an RPC_HDR_AUTH structure. ********************************************************************/ |