diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-05-25 15:40:35 +1000 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-05-31 15:10:44 +0200 |
commit | 723ea68d3b69a9fc31dc02256c4fc323dc9278ce (patch) | |
tree | 997a1b55d56dca352a50904e322c8c871b26655b /source3/include | |
parent | 3b706865f6bae7a2b04590da160bda939a3bafe5 (diff) | |
download | samba-723ea68d3b69a9fc31dc02256c4fc323dc9278ce.tar.gz samba-723ea68d3b69a9fc31dc02256c4fc323dc9278ce.tar.bz2 samba-723ea68d3b69a9fc31dc02256c4fc323dc9278ce.zip |
s3:auth Remove AUTH_NTLMSSP_STATE typedef.
typedefs are no longer preferred Samba style.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/auth.h | 2 | ||||
-rw-r--r-- | source3/include/ntdomain.h | 2 | ||||
-rw-r--r-- | source3/include/proto.h | 1 |
3 files changed, 2 insertions, 3 deletions
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, |