From 0d9fa9e96fd85fab6b51a590612ad2385617f972 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 9 Sep 2010 11:35:50 +0200 Subject: s3-rpcint: Make auth_serversupplied_info const. --- source3/include/proto.h | 4 ++-- source3/rpc_server/rpc_ncacn_np_internal.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/source3/include/proto.h b/source3/include/proto.h index e5aff683c6..335af1fbc7 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -4168,12 +4168,12 @@ NTSTATUS rpc_pipe_open_ncalrpc(TALLOC_CTX *mem_ctx, const char *socket_path, struct pipes_struct *make_internal_rpc_pipe_p(TALLOC_CTX *mem_ctx, const struct ndr_syntax_id *syntax, struct client_address *client_id, - struct auth_serversupplied_info *server_info, + const struct auth_serversupplied_info *server_info, struct messaging_context *msg_ctx); NTSTATUS rpcint_binding_handle(TALLOC_CTX *mem_ctx, const struct ndr_interface_table *ndr_table, struct client_address *client_id, - struct auth_serversupplied_info *server_info, + const struct auth_serversupplied_info *server_info, struct messaging_context *msg_ctx, struct dcerpc_binding_handle **binding_handle); NTSTATUS rpc_pipe_open_internal(TALLOC_CTX *mem_ctx, diff --git a/source3/rpc_server/rpc_ncacn_np_internal.c b/source3/rpc_server/rpc_ncacn_np_internal.c index 3a3f8cae78..0cbbf50003 100644 --- a/source3/rpc_server/rpc_ncacn_np_internal.c +++ b/source3/rpc_server/rpc_ncacn_np_internal.c @@ -116,7 +116,7 @@ static int close_internal_rpc_pipe_hnd(struct pipes_struct *p) struct pipes_struct *make_internal_rpc_pipe_p(TALLOC_CTX *mem_ctx, const struct ndr_syntax_id *syntax, struct client_address *client_id, - struct auth_serversupplied_info *server_info, + const struct auth_serversupplied_info *server_info, struct messaging_context *msg_ctx) { struct pipes_struct *p; @@ -429,7 +429,7 @@ static NTSTATUS rpcint_binding_handle_ex(TALLOC_CTX *mem_ctx, const struct ndr_syntax_id *abstract_syntax, const struct ndr_interface_table *ndr_table, struct client_address *client_id, - struct auth_serversupplied_info *server_info, + const struct auth_serversupplied_info *server_info, struct messaging_context *msg_ctx, struct dcerpc_binding_handle **binding_handle) { @@ -497,7 +497,7 @@ static NTSTATUS rpcint_binding_handle_ex(TALLOC_CTX *mem_ctx, NTSTATUS rpcint_binding_handle(TALLOC_CTX *mem_ctx, const struct ndr_interface_table *ndr_table, struct client_address *client_id, - struct auth_serversupplied_info *server_info, + const struct auth_serversupplied_info *server_info, struct messaging_context *msg_ctx, struct dcerpc_binding_handle **binding_handle) { -- cgit