From 43064a74a3ee9f7e4a269ceddb7fffb80dea514f Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Thu, 8 Jul 2010 20:25:50 -0400 Subject: s3-dcerpc: Remove unused headers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Günther Deschner --- source3/include/rpc_dce.h | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'source3/include/rpc_dce.h') diff --git a/source3/include/rpc_dce.h b/source3/include/rpc_dce.h index ade4728d23..f43976c4db 100644 --- a/source3/include/rpc_dce.h +++ b/source3/include/rpc_dce.h @@ -66,14 +66,6 @@ typedef struct rpc_hdr_resp_info { #define RPC_HDR_RESP_LEN 8 -/* RPC_HDR_FAULT - fault rpc header */ -typedef struct rpc_hdr_fault_info { - NTSTATUS status; - uint32 reserved; /* 0x0000 0000 */ -} RPC_HDR_FAULT; - -#define RPC_HDR_FAULT_LEN 8 - /* this seems to be the same string name depending on the name of the pipe, * but is more likely to be linked to the interface name * "srvsvc", "\\PIPE\\ntsvcs" @@ -107,16 +99,6 @@ typedef struct rpc_hdr_auth_info { #define RPC_HDR_AUTH_LEN 8 -/* - * The following length is 8 bytes RPC_HDR_BBA_LEN + - * 4 bytes size of context count + - * (context_count * (4 bytes of context_id, size of transfer syntax count + RPC_IFACE_LEN bytes + - * (transfer_syntax_count * RPC_IFACE_LEN bytes))) - */ - -#define RPC_HDR_RB_LEN(rpc_hdr_rb) (RPC_HDR_BBA_LEN + 4 + \ - ((rpc_hdr_rb)->num_contexts) * (4 + RPC_IFACE_LEN + (((rpc_hdr_rb)->ctx_list->num_transfer_syntaxes)*RPC_IFACE_LEN))) - /* RPC_RESULTS - can only cope with one reason, right now... */ typedef struct rpc_results_info { /* uint8[] # 4-byte alignment padding, against SMB header */ -- cgit