s3-rpcint: Make auth_serversupplied_info const.
authorAndreas Schneider <asn@cynapses.org>
Thu, 9 Sep 2010 09:35:50 +0000 (11:35 +0200)
committerAndreas Schneider <asn@samba.org>
Thu, 9 Sep 2010 14:00:08 +0000 (16:00 +0200)
source3/include/proto.h
source3/rpc_server/rpc_ncacn_np_internal.c

index e5aff683c660cef4c4e3b72b235303f1433383fe..335af1fbc76466466a56e2ca80241e91ac211e34 100644 (file)
@@ -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,
index 3a3f8cae78139fff78378f5fb985a63973cdd070..0cbbf50003a4d65b641ee6dc86ea81cf094813a3 100644 (file)
@@ -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)
 {