summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-03-24 15:35:28 +1100
committerAndrew Tridgell <tridge@samba.org>2011-03-25 04:37:06 +0100
commit5a20325c867b32333f489b7d04c6b8e6571ed06d (patch)
tree2122e76c4412ea74f136d8c3bac6def6e6345711 /source4/libcli
parentbfce962c8f5219e72a07810a663a14542355927d (diff)
downloadsamba-5a20325c867b32333f489b7d04c6b8e6571ed06d.tar.gz
samba-5a20325c867b32333f489b7d04c6b8e6571ed06d.tar.bz2
samba-5a20325c867b32333f489b7d04c6b8e6571ed06d.zip
libcli: created smb_constants.h
this starts the (long!) process of moving some of the SMB constants into common files. This just moves the FLAGS2_ defines, which are needed for common string routines (for FLAGS2_UNICODE_STRINGS)
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/raw/smb.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/source4/libcli/raw/smb.h b/source4/libcli/raw/smb.h
index d93ad0d005..05bf91fe3b 100644
--- a/source4/libcli/raw/smb.h
+++ b/source4/libcli/raw/smb.h
@@ -504,18 +504,6 @@
#define NEGOTIATE_SECURITY_SIGNATURES_ENABLED 0x04
#define NEGOTIATE_SECURITY_SIGNATURES_REQUIRED 0x08
-/* NT Flags2 bits - cifs6.txt section 3.1.2 */
-#define FLAGS2_LONG_PATH_COMPONENTS 0x0001
-#define FLAGS2_EXTENDED_ATTRIBUTES 0x0002
-#define FLAGS2_SMB_SECURITY_SIGNATURES 0x0004
-#define FLAGS2_IS_LONG_NAME 0x0040
-#define FLAGS2_EXTENDED_SECURITY 0x0800
-#define FLAGS2_DFS_PATHNAMES 0x1000
-#define FLAGS2_READ_PERMIT_EXECUTE 0x2000
-#define FLAGS2_32_BIT_ERROR_CODES 0x4000
-#define FLAGS2_UNICODE_STRINGS 0x8000
-
-
/* CIFS protocol capabilities */
#define CAP_RAW_MODE 0x00000001
#define CAP_MPX_MODE 0x00000002
@@ -610,5 +598,6 @@
#include "libcli/raw/trans2.h"
#include "libcli/raw/interfaces.h"
+#include "libcli/smb/smb_common.h"
#endif /* _SMB_H */