mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
s3-rpc_server: Make auth_serversupplied_info const.
This commit is contained in:
@ -107,7 +107,7 @@ NTSTATUS serverinfo_to_SamInfo2(struct auth_serversupplied_info *server_info,
|
||||
already be initialized and is used as the talloc parent for its members.
|
||||
*****************************************************************************/
|
||||
|
||||
NTSTATUS serverinfo_to_SamInfo3(struct auth_serversupplied_info *server_info,
|
||||
NTSTATUS serverinfo_to_SamInfo3(const struct auth_serversupplied_info *server_info,
|
||||
uint8_t *pipe_session_key,
|
||||
size_t pipe_session_key_len,
|
||||
struct netr_SamInfo3 *sam3)
|
||||
|
@ -199,7 +199,7 @@ NTSTATUS serverinfo_to_SamInfo2(struct auth_serversupplied_info *server_info,
|
||||
uint8_t *pipe_session_key,
|
||||
size_t pipe_session_key_len,
|
||||
struct netr_SamInfo2 *sam2);
|
||||
NTSTATUS serverinfo_to_SamInfo3(struct auth_serversupplied_info *server_info,
|
||||
NTSTATUS serverinfo_to_SamInfo3(const struct auth_serversupplied_info *server_info,
|
||||
uint8_t *pipe_session_key,
|
||||
size_t pipe_session_key_len,
|
||||
struct netr_SamInfo3 *sam3);
|
||||
@ -4083,13 +4083,13 @@ NTSTATUS rpcint_binding_handle(TALLOC_CTX *mem_ctx,
|
||||
struct dcerpc_binding_handle **binding_handle);
|
||||
NTSTATUS rpc_pipe_open_internal(TALLOC_CTX *mem_ctx,
|
||||
const struct ndr_syntax_id *abstract_syntax,
|
||||
struct auth_serversupplied_info *serversupplied_info,
|
||||
const struct auth_serversupplied_info *serversupplied_info,
|
||||
struct client_address *client_id,
|
||||
struct messaging_context *msg_ctx,
|
||||
struct rpc_pipe_client **presult);
|
||||
NTSTATUS rpc_pipe_open_interface(TALLOC_CTX *mem_ctx,
|
||||
const struct ndr_syntax_id *syntax,
|
||||
struct auth_serversupplied_info *server_info,
|
||||
const struct auth_serversupplied_info *server_info,
|
||||
struct client_address *client_id,
|
||||
struct messaging_context *msg_ctx,
|
||||
struct rpc_pipe_client **cli_pipe);
|
||||
|
@ -536,7 +536,7 @@ NTSTATUS rpcint_binding_handle(TALLOC_CTX *mem_ctx,
|
||||
*/
|
||||
NTSTATUS rpc_pipe_open_internal(TALLOC_CTX *mem_ctx,
|
||||
const struct ndr_syntax_id *abstract_syntax,
|
||||
struct auth_serversupplied_info *serversupplied_info,
|
||||
const struct auth_serversupplied_info *serversupplied_info,
|
||||
struct client_address *client_id,
|
||||
struct messaging_context *msg_ctx,
|
||||
struct rpc_pipe_client **presult)
|
||||
@ -587,7 +587,7 @@ struct np_proxy_state *make_external_rpc_pipe_p(TALLOC_CTX *mem_ctx,
|
||||
const char *pipe_name,
|
||||
const struct tsocket_address *local_address,
|
||||
const struct tsocket_address *remote_address,
|
||||
struct auth_serversupplied_info *server_info)
|
||||
const struct auth_serversupplied_info *server_info)
|
||||
{
|
||||
struct np_proxy_state *result;
|
||||
char *socket_np_dir;
|
||||
@ -707,7 +707,7 @@ struct np_proxy_state *make_external_rpc_pipe_p(TALLOC_CTX *mem_ctx,
|
||||
static NTSTATUS rpc_pipe_open_external(TALLOC_CTX *mem_ctx,
|
||||
const char *pipe_name,
|
||||
const struct ndr_syntax_id *abstract_syntax,
|
||||
struct auth_serversupplied_info *server_info,
|
||||
const struct auth_serversupplied_info *server_info,
|
||||
struct rpc_pipe_client **_result)
|
||||
{
|
||||
struct tsocket_address *local, *remote;
|
||||
@ -808,7 +808,7 @@ done:
|
||||
|
||||
NTSTATUS rpc_pipe_open_interface(TALLOC_CTX *mem_ctx,
|
||||
const struct ndr_syntax_id *syntax,
|
||||
struct auth_serversupplied_info *server_info,
|
||||
const struct auth_serversupplied_info *server_info,
|
||||
struct client_address *client_id,
|
||||
struct messaging_context *msg_ctx,
|
||||
struct rpc_pipe_client **cli_pipe)
|
||||
|
@ -38,7 +38,7 @@ struct np_proxy_state *make_external_rpc_pipe_p(TALLOC_CTX *mem_ctx,
|
||||
const char *pipe_name,
|
||||
const struct tsocket_address *local_address,
|
||||
const struct tsocket_address *remote_address,
|
||||
struct auth_serversupplied_info *server_info);
|
||||
const struct auth_serversupplied_info *server_info);
|
||||
NTSTATUS rpcint_binding_handle(TALLOC_CTX *mem_ctx,
|
||||
const struct ndr_interface_table *ndr_table,
|
||||
struct client_address *client_id,
|
||||
@ -47,13 +47,13 @@ NTSTATUS rpcint_binding_handle(TALLOC_CTX *mem_ctx,
|
||||
struct dcerpc_binding_handle **binding_handle);
|
||||
NTSTATUS rpc_pipe_open_internal(TALLOC_CTX *mem_ctx,
|
||||
const struct ndr_syntax_id *abstract_syntax,
|
||||
struct auth_serversupplied_info *serversupplied_info,
|
||||
const struct auth_serversupplied_info *serversupplied_info,
|
||||
struct client_address *client_id,
|
||||
struct messaging_context *msg_ctx,
|
||||
struct rpc_pipe_client **presult);
|
||||
NTSTATUS rpc_pipe_open_interface(TALLOC_CTX *mem_ctx,
|
||||
const struct ndr_syntax_id *syntax,
|
||||
struct auth_serversupplied_info *server_info,
|
||||
const struct auth_serversupplied_info *server_info,
|
||||
struct client_address *client_id,
|
||||
struct messaging_context *msg_ctx,
|
||||
struct rpc_pipe_client **cli_pipe);
|
||||
|
Reference in New Issue
Block a user