summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h2
-rw-r--r--source3/include/rpc_dce.h9
2 files changed, 2 insertions, 9 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 99afcf3e05..ec61dd1b9d 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -5078,7 +5078,7 @@ const char *get_pipe_name_from_syntax(TALLOC_CTX *mem_ctx,
void init_rpc_hdr(RPC_HDR *hdr, enum dcerpc_pkt_type pkt_type, uint8 flags,
uint32 call_id, int data_len, int auth_len);
bool smb_io_rpc_hdr(const char *desc, RPC_HDR *rpc, prs_struct *ps, int depth);
-bool smb_io_rpc_context(const char *desc, RPC_CONTEXT *rpc_ctx, prs_struct *ps, int depth);
+bool smb_io_rpc_context(const char *desc, struct dcerpc_ctx_list *rpc_ctx, prs_struct *ps, int depth);
bool smb_io_rpc_hdr_rb(const char *desc, RPC_HDR_RB *rpc, prs_struct *ps, int depth);
void init_rpc_hdr_ba(RPC_HDR_BA *rpc,
uint16 max_tsize, uint16 max_rsize, uint32 assoc_gid,
diff --git a/source3/include/rpc_dce.h b/source3/include/rpc_dce.h
index 37015ebb96..03d1e32cca 100644
--- a/source3/include/rpc_dce.h
+++ b/source3/include/rpc_dce.h
@@ -107,18 +107,11 @@ typedef struct rpc_hdr_auth_info {
#define RPC_HDR_AUTH_LEN 8
-typedef struct rpc_context {
- uint16 context_id; /* presentation context identifier. */
- uint8 num_transfer_syntaxes; /* the number of syntaxes */
- struct ndr_syntax_id abstract; /* num and vers. of interface client is using */
- struct ndr_syntax_id *transfer; /* Array of transfer interfaces. */
-} RPC_CONTEXT;
-
/* RPC_BIND_REQ - ms req bind */
typedef struct rpc_bind_req_info {
RPC_HDR_BBA bba;
uint8 num_contexts; /* the number of contexts */
- RPC_CONTEXT *rpc_context;
+ struct dcerpc_ctx_list *rpc_context;
} RPC_HDR_RB;
/*