diff options
author | Simo Sorce <idra@samba.org> | 2010-07-07 17:14:27 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2010-07-08 01:08:05 -0400 |
commit | ae526514a936b46112845480646402fdd385d7a2 (patch) | |
tree | 1132753ec6561e369129e9c68bfa34d3f59d2b5c /source3/include | |
parent | d57ecf920cfb0c1a03734f120e888d34bd618f2d (diff) | |
download | samba-ae526514a936b46112845480646402fdd385d7a2.tar.gz samba-ae526514a936b46112845480646402fdd385d7a2.tar.bz2 samba-ae526514a936b46112845480646402fdd385d7a2.zip |
s3:rpc user idl define dcerpc_ctx_list instead of custom RPC_CONTEXT
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 2 | ||||
-rw-r--r-- | source3/include/rpc_dce.h | 9 |
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; /* |