summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2010-07-08 20:25:50 -0400
committerGünther Deschner <gd@samba.org>2010-07-13 14:44:10 +0200
commit43064a74a3ee9f7e4a269ceddb7fffb80dea514f (patch)
treeda27675998e4499c414b0bd37b56b4541fb29ebe
parentcf664b73a4682a09a8e03b69e65aa5f7b18ff13d (diff)
downloadsamba-43064a74a3ee9f7e4a269ceddb7fffb80dea514f.tar.gz
samba-43064a74a3ee9f7e4a269ceddb7fffb80dea514f.tar.bz2
samba-43064a74a3ee9f7e4a269ceddb7fffb80dea514f.zip
s3-dcerpc: Remove unused headers
Signed-off-by: Günther Deschner <gd@samba.org>
-rw-r--r--source3/include/rpc_dce.h18
1 files changed, 0 insertions, 18 deletions
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 */