From dc6e0cedfcdd7ca0d9b7a13ecbc3e8520ddcc8f0 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Mon, 23 Mar 2009 12:45:09 +0100 Subject: s3-dcerpc: remove unused smb_io_rpc_hdr_fault. Guenther Signed-off-by: Simo Sorce --- source3/rpc_parse/parse_rpc.c | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'source3/rpc_parse') 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 @@ -442,26 +442,6 @@ bool smb_io_rpc_hdr_resp(const char *desc, RPC_HDR_RESP *rpc, prs_struct *ps, in return True; } -/******************************************************************* - 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. ********************************************************************/ -- cgit