From 58fbf7420c184c95f8b9761a32392227848794cd Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 5 Jul 2009 10:13:03 +0200 Subject: Remove "typedef struct ndr_syntax_id RPC_IFACE;" --- source3/rpc_server/srv_pipe.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'source3/rpc_server/srv_pipe.c') diff --git a/source3/rpc_server/srv_pipe.c b/source3/rpc_server/srv_pipe.c index 73c95ebaa3..c94e59422e 100644 --- a/source3/rpc_server/srv_pipe.c +++ b/source3/rpc_server/srv_pipe.c @@ -950,8 +950,10 @@ bool setup_cancel_ack_reply(pipes_struct *p, prs_struct *rpc_in_p) Used to reject unknown binds from Win2k. *******************************************************************/ -static bool check_bind_req(struct pipes_struct *p, RPC_IFACE* abstract, - RPC_IFACE* transfer, uint32 context_id) +static bool check_bind_req(struct pipes_struct *p, + struct ndr_syntax_id* abstract, + struct ndr_syntax_id* transfer, + uint32 context_id) { int i=0; struct pipe_rpc_fns *context_fns; @@ -1718,7 +1720,7 @@ bool api_pipe_bind_req(pipes_struct *p, prs_struct *rpc_in_p) 0x1, 0x0, 0x0, &hdr_rb.rpc_context[0].transfer[0]); } else { - RPC_IFACE null_interface; + struct ndr_syntax_id null_interface; ZERO_STRUCT(null_interface); /* Rejection reason: abstract syntax not supported */ init_rpc_hdr_ba(&hdr_ba, RPC_MAX_PDU_FRAG_LEN, @@ -1908,7 +1910,7 @@ bool api_pipe_alter_context(pipes_struct *p, prs_struct *rpc_in_p) 0x1, 0x0, 0x0, &hdr_rb.rpc_context[0].transfer[0]); } else { - RPC_IFACE null_interface; + struct ndr_syntax_id null_interface; ZERO_STRUCT(null_interface); /* Rejection reason: abstract syntax not supported */ init_rpc_hdr_ba(&hdr_ba, RPC_MAX_PDU_FRAG_LEN, -- cgit