From 6543987139197800a3e93b768133474ed0c2d0dc Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 6 Jul 2011 13:05:45 +1000 Subject: libcli/smb move enum protocol_types to a common header --- libcli/smb/smb_constants.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'libcli/smb/smb_constants.h') diff --git a/libcli/smb/smb_constants.h b/libcli/smb/smb_constants.h index 59a6d9e388..33a2a8d5b7 100644 --- a/libcli/smb/smb_constants.h +++ b/libcli/smb/smb_constants.h @@ -22,6 +22,18 @@ #ifndef _SMB_CONSTANTS_H #define _SMB_CONSTANTS_H +/* protocol types. It assumes that higher protocols include lower protocols + as subsets. */ +enum protocol_types { + PROTOCOL_NONE, + PROTOCOL_CORE, + PROTOCOL_COREPLUS, + PROTOCOL_LANMAN1, + PROTOCOL_LANMAN2, + PROTOCOL_NT1, + PROTOCOL_SMB2 +}; + /* NT Flags2 bits - cifs6.txt section 3.1.2 */ #define FLAGS2_LONG_PATH_COMPONENTS 0x0001 #define FLAGS2_EXTENDED_ATTRIBUTES 0x0002 -- cgit