From 723ea68d3b69a9fc31dc02256c4fc323dc9278ce Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 25 May 2010 15:40:35 +1000 Subject: s3:auth Remove AUTH_NTLMSSP_STATE typedef. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit typedefs are no longer preferred Samba style. Andrew Bartlett Signed-off-by: Stefan Metzmacher Signed-off-by: Günther Deschner --- source3/include/auth.h | 2 +- source3/include/ntdomain.h | 2 +- source3/include/proto.h | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) (limited to 'source3/include') diff --git a/source3/include/auth.h b/source3/include/auth.h index cb849f542f..ed422c24a0 100644 --- a/source3/include/auth.h +++ b/source3/include/auth.h @@ -143,7 +143,7 @@ struct auth_init_function_entry { struct auth_init_function_entry *prev, *next; }; -typedef struct auth_ntlmssp_state AUTH_NTLMSSP_STATE; +struct auth_ntlmssp_state; /* Changed from 1 -> 2 to add the logon_parameters field. */ #define AUTH_INTERFACE_VERSION 2 diff --git a/source3/include/ntdomain.h b/source3/include/ntdomain.h index c98ee181d5..668691fb47 100644 --- a/source3/include/ntdomain.h +++ b/source3/include/ntdomain.h @@ -147,7 +147,7 @@ struct pipe_auth_data { enum dcerpc_AuthLevel auth_level; union { struct schannel_state *schannel_auth; - AUTH_NTLMSSP_STATE *auth_ntlmssp_state; + struct auth_ntlmssp_state *auth_ntlmssp_state; /* struct kerberos_auth_struct *kerberos_auth; TO BE ADDED... */ } a_u; void (*auth_data_free_func)(struct pipe_auth_data *); diff --git a/source3/include/proto.h b/source3/include/proto.h index d97ef520d5..d479edbc9f 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -62,7 +62,6 @@ const char *auth_ntlmssp_get_domain(struct auth_ntlmssp_state *auth_ntlmssp_stat const char *auth_ntlmssp_get_client(struct auth_ntlmssp_state *auth_ntlmssp_state); bool auth_ntlmssp_negotiated_sign(struct auth_ntlmssp_state *auth_ntlmssp_state); bool auth_ntlmssp_negotiated_seal(struct auth_ntlmssp_state *auth_ntlmssp_state); - NTSTATUS auth_ntlmssp_start(struct auth_ntlmssp_state **auth_ntlmssp_state); void auth_ntlmssp_end(struct auth_ntlmssp_state **auth_ntlmssp_state); NTSTATUS auth_ntlmssp_update(struct auth_ntlmssp_state *auth_ntlmssp_state, -- cgit