s3-dcerpc: remove unused smb_io_rpc_hdr_fault.
authorGünther Deschner <gd@samba.org>
Mon, 23 Mar 2009 11:45:09 +0000 (12:45 +0100)
committerSimo Sorce <idra@samba.org>
Thu, 8 Jul 2010 03:45:50 +0000 (23:45 -0400)
Guenther

Signed-off-by: Simo Sorce <idra@samba.org>
source3/include/proto.h
source3/rpc_parse/parse_rpc.c

index a998becfbee5e39583881772686b0533d567b64c..35229c836b9f3d21d62b68d2bbcded2d0fb69079 100644 (file)
@@ -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,
index 441a00b1ea9fa3e91b67280d71fec2e69386d896..a671c711b49dfb9ced63b26f7ddf744347b84898 100644 (file)
@@ -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.
 ********************************************************************/