summaryrefslogtreecommitdiff
path: root/source4/libcli/auth/ntlmssp.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-06-04 07:46:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:25 -0500
commit8f84a98e299e63b7fb7fdd797e8e7969b68a106f (patch)
tree5ee006ad2a8a827f81f2850dedc7098d1f14a918 /source4/libcli/auth/ntlmssp.h
parent8087d844ef59a82617be51f7c887b9bafe362f80 (diff)
downloadsamba-8f84a98e299e63b7fb7fdd797e8e7969b68a106f.tar.gz
samba-8f84a98e299e63b7fb7fdd797e8e7969b68a106f.tar.bz2
samba-8f84a98e299e63b7fb7fdd797e8e7969b68a106f.zip
r1001: in samba4 we don't(shouldn't) use typedef's anymore...
metze (This used to be commit ac5f6f7e511a730448012c8a709887827aea2281)
Diffstat (limited to 'source4/libcli/auth/ntlmssp.h')
-rw-r--r--source4/libcli/auth/ntlmssp.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/libcli/auth/ntlmssp.h b/source4/libcli/auth/ntlmssp.h
index 40592acf85..f1b87a7f9d 100644
--- a/source4/libcli/auth/ntlmssp.h
+++ b/source4/libcli/auth/ntlmssp.h
@@ -21,14 +21,14 @@
*/
/* NTLMSSP mode */
-enum NTLMSSP_ROLE
+enum ntlmssp_role
{
NTLMSSP_SERVER,
NTLMSSP_CLIENT
};
/* NTLMSSP message types */
-enum NTLM_MESSAGE_TYPE
+enum ntlmssp_message_type
{
NTLMSSP_INITIAL = 0 /* samba internal state */,
NTLMSSP_NEGOTIATE = 1,
@@ -71,11 +71,11 @@ enum NTLM_MESSAGE_TYPE
#define NTLMSSP_SIGN_VERSION 1
-typedef struct ntlmssp_state
+struct ntlmssp_state
{
TALLOC_CTX *mem_ctx;
uint_t ref_count;
- enum NTLMSSP_ROLE role;
+ enum ntlmssp_role role;
enum samr_Role server_role;
uint32_t expected_state;
@@ -184,5 +184,5 @@ typedef struct ntlmssp_state
Store it here, until we need it */
DATA_BLOB stored_response;
-} NTLMSSP_STATE;
+};