summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2009-12-22 18:50:55 +1100
committerStefan Metzmacher <metze@samba.org>2009-12-22 21:07:52 +0100
commit9b36fa0441d55aa754262e7db31983276d0ff19f (patch)
tree51d79829c5260babd0040d5ee7bdb1bf53d4dfb9
parentba2cfceb9647fd37a5dc010eb83cc87494dcdf2b (diff)
downloadsamba-9b36fa0441d55aa754262e7db31983276d0ff19f.tar.gz
samba-9b36fa0441d55aa754262e7db31983276d0ff19f.tar.bz2
samba-9b36fa0441d55aa754262e7db31983276d0ff19f.zip
s3:ntlmssp: rename enum NTLMSSP_ROLE into enum ntlmssp_role
Andrew Bartlett
-rw-r--r--source3/include/ntlmssp.h4
-rw-r--r--source3/libsmb/ntlmssp.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/include/ntlmssp.h b/source3/include/ntlmssp.h
index 9f47c9c555..d4eec08b39 100644
--- a/source3/include/ntlmssp.h
+++ b/source3/include/ntlmssp.h
@@ -20,7 +20,7 @@
*/
/* NTLMSSP mode */
-enum NTLMSSP_ROLE
+enum ntlmssp_role
{
NTLMSSP_SERVER,
NTLMSSP_CLIENT
@@ -44,7 +44,7 @@ enum NTLM_MESSAGE_TYPE
typedef struct ntlmssp_state
{
unsigned int ref_count;
- enum NTLMSSP_ROLE role;
+ enum ntlmssp_role role;
enum server_types server_role;
uint32 expected_state;
diff --git a/source3/libsmb/ntlmssp.c b/source3/libsmb/ntlmssp.c
index 84cba43063..affd055aa7 100644
--- a/source3/libsmb/ntlmssp.c
+++ b/source3/libsmb/ntlmssp.c
@@ -41,7 +41,7 @@ static NTSTATUS ntlmssp_server_auth(struct ntlmssp_state *ntlmssp_state,
*/
static const struct ntlmssp_callbacks {
- enum NTLMSSP_ROLE role;
+ enum ntlmssp_role role;
enum NTLM_MESSAGE_TYPE ntlmssp_command;
NTSTATUS (*fn)(struct ntlmssp_state *ntlmssp_state,
DATA_BLOB in, DATA_BLOB *out);