summaryrefslogtreecommitdiff
path: root/source4/libcli/smb2/smb2_calls.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-11-17 04:03:31 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:23 -0500
commit7a43b32c3b6aeae3572c810fef243d883fe74f28 (patch)
tree088d9a79faf88a4281c9b599c47c5d16540a458d /source4/libcli/smb2/smb2_calls.h
parentfe996e8ac687dbf5b5cfdd795f14aed89663f06d (diff)
downloadsamba-7a43b32c3b6aeae3572c810fef243d883fe74f28.tar.gz
samba-7a43b32c3b6aeae3572c810fef243d883fe74f28.tar.bz2
samba-7a43b32c3b6aeae3572c810fef243d883fe74f28.zip
r11755: added names for all of the SMB2 qfs info levels (they all map exactly
to equivalent SMB qfs levels) (This used to be commit 4ce48d02aa12d6fa699bf8b250b14851870f0096)
Diffstat (limited to 'source4/libcli/smb2/smb2_calls.h')
-rw-r--r--source4/libcli/smb2/smb2_calls.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/source4/libcli/smb2/smb2_calls.h b/source4/libcli/smb2/smb2_calls.h
index d0a1cb8905..872e20f156 100644
--- a/source4/libcli/smb2/smb2_calls.h
+++ b/source4/libcli/smb2/smb2_calls.h
@@ -191,13 +191,13 @@ struct smb2_close {
};
/* fs information levels */
-#define SMB2_GETINFO_FS_01 0x0102
-#define SMB2_GETINFO_FS_03 0x0302
-#define SMB2_GETINFO_FS_04 0x0402
-#define SMB2_GETINFO_FS_ATTRIB_INFO 0x0502
-#define SMB2_GETINFO_FS_06 0x0602
-#define SMB2_GETINFO_FS_07 0x0702
-#define SMB2_GETINFO_FS_08 0x0802
+#define SMB2_GETINFO_FS_VOLUME_INFO 0x0102
+#define SMB2_GETINFO_FS_SIZE_INFO 0x0302
+#define SMB2_GETINFO_FS_DEVICE_INFO 0x0402
+#define SMB2_GETINFO_FS_ATTRIBUTE_INFO 0x0502
+#define SMB2_GETINFO_FS_QUOTA_INFO 0x0602
+#define SMB2_GETINFO_FS_FULL_SIZE_INFO 0x0702
+#define SMB2_GETINFO_FS_OBJECTID_INFO 0x0802
/* class 3 levels */
#define SMB2_GETINFO_SECURITY 0x0003
@@ -295,7 +295,7 @@ union smb2_fileinfo {
NTTIME write_time;
NTTIME change_time;
uint32_t file_attr;
- /* uint32_t _pad; */
+ uint32_t unknown1;
uint64_t alloc_size;
uint64_t size;
uint32_t nlink;