diff options
author | Stefan Metzmacher <metze@samba.org> | 2016-01-07 14:50:27 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2016-06-30 03:30:23 +0200 |
commit | 4034c0a8ea818b9b956bae64bcd43fb477351d56 (patch) | |
tree | a03828e5084d2cf56e489680dd86a43ff1a2269d /auth/auth_sam_reply.h | |
parent | 4524f5986c3cc6430fcc2ddae6970a62b3f22ac8 (diff) | |
download | samba-4034c0a8ea818b9b956bae64bcd43fb477351d56.tar.gz |
auth/auth_sam_reply: add some const to input parameters
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11441
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'auth/auth_sam_reply.h')
-rw-r--r-- | auth/auth_sam_reply.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/auth/auth_sam_reply.h b/auth/auth_sam_reply.h index 5481eb26e87..efa02f33a4d 100644 --- a/auth/auth_sam_reply.h +++ b/auth/auth_sam_reply.h @@ -33,16 +33,16 @@ /* The following definitions come from auth/auth_sam_reply.c */ NTSTATUS make_user_info_SamBaseInfo(TALLOC_CTX *mem_ctx, - const char *account_name, - struct netr_SamBaseInfo *base, + const const char *account_name, + const struct netr_SamBaseInfo *base, bool authenticated, struct auth_user_info **_user_info); NTSTATUS auth_convert_user_info_dc_sambaseinfo(TALLOC_CTX *mem_ctx, - struct auth_user_info_dc *user_info_dc, + const struct auth_user_info_dc *user_info_dc, struct netr_SamBaseInfo **_sam); NTSTATUS auth_convert_user_info_dc_saminfo3(TALLOC_CTX *mem_ctx, - struct auth_user_info_dc *user_info_dc, + const struct auth_user_info_dc *user_info_dc, struct netr_SamInfo3 **_sam3); /** @@ -51,15 +51,15 @@ NTSTATUS auth_convert_user_info_dc_saminfo3(TALLOC_CTX *mem_ctx, NTSTATUS make_user_info_dc_netlogon_validation(TALLOC_CTX *mem_ctx, const char *account_name, uint16_t validation_level, - union netr_Validation *validation, - bool authenticated, + const union netr_Validation *validation, + bool authenticated, struct auth_user_info_dc **_user_info_dc); /** * Make a user_info_dc struct from the PAC_LOGON_INFO supplied in the krb5 logon */ NTSTATUS make_user_info_dc_pac(TALLOC_CTX *mem_ctx, - struct PAC_LOGON_INFO *pac_logon_info, + const struct PAC_LOGON_INFO *pac_logon_info, struct auth_user_info_dc **_user_info_dc); /* The following definitions come from auth/wbc_auth_util.c */ |