summaryrefslogtreecommitdiff
path: root/source3/include/smb.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-07-01 21:49:49 +0000
committerJeremy Allison <jra@samba.org>1998-07-01 21:49:49 +0000
commit139a34157eba50f70c86f2dd07fb384a7cbaf9cc (patch)
tree4f69d1986e53fdd7bf805038b8f54bd2b19cd136 /source3/include/smb.h
parent1829528d1fb2b87c726341aaf8d69d1190f83d6b (diff)
downloadsamba-139a34157eba50f70c86f2dd07fb384a7cbaf9cc.tar.gz
samba-139a34157eba50f70c86f2dd07fb384a7cbaf9cc.tar.bz2
samba-139a34157eba50f70c86f2dd07fb384a7cbaf9cc.zip
includes.h: AIX fix.
nttrans.c: More NT SMB work. smb.h: More NT SMB defines. trans2.c: Change call response as I now have docs on what the flags mean. #ifdef it with JRATEST until I'm sure it's ok though. Jeremy. (This used to be commit ce2503fddd7ef9eed89e1a63fd834f13432a9cd6)
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r--source3/include/smb.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 734dddff14..9cedc890b8 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -1090,6 +1090,8 @@ struct parm_struct
#define FILE_ATTRIBUTE_NORMAL 0x80L
#define FILE_ATTRIBUTE_TEMPORARY 0x100L
#define FILE_ATTRIBUTE_COMPRESSED 0x800L
+#define SAMBA_ATTRIBUTES_MASK 0x7F
+
/* Flags - combined with attributes. */
#define FILE_FLAG_WRITE_THROUGH 0x80000000L
#define FILE_FLAG_NO_BUFFERING 0x20000000L
@@ -1106,6 +1108,12 @@ struct parm_struct
#define OPEN_ALWAYS 4
#define TRUNCATE_EXISTING 5
+/* Filesystem Attributes. */
+#define FILE_CASE_SENSITIVE_SEARCH 0x1
+#define FILE_CASE_PRESERVED_NAMES 0x2
+#define FILE_UNICODE_ON_DISK 0x4
+#define FILE_PERISITANT_ACLS 0x8
+
/* where to find the base of the SMB packet proper */
#define smb_base(buf) (((char *)(buf))+4)