summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-08-07 14:12:19 +0200
committerStefan Metzmacher <metze@samba.org>2009-08-07 14:56:23 +0200
commitaef96af916eab4c29656d3ff6426618f331b7400 (patch)
treeea1e62b0b5c7e031c4b18d314af1b9c03f4728ee /source4
parentacbb9da53077756f6a44a4737fcd3329fadb217c (diff)
downloadsamba-aef96af916eab4c29656d3ff6426618f331b7400.tar.gz
samba-aef96af916eab4c29656d3ff6426618f331b7400.tar.bz2
samba-aef96af916eab4c29656d3ff6426618f331b7400.zip
s4:libcli/smb2: move SMB2_GETINFO_* flags into smb2_constants.h
metze
Diffstat (limited to 'source4')
-rw-r--r--source4/libcli/smb2/smb2_calls.h6
-rw-r--r--source4/libcli/smb2/smb2_constants.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/source4/libcli/smb2/smb2_calls.h b/source4/libcli/smb2/smb2_calls.h
index eeacac72bf..bea0573c26 100644
--- a/source4/libcli/smb2/smb2_calls.h
+++ b/source4/libcli/smb2/smb2_calls.h
@@ -52,12 +52,6 @@ struct smb2_negprot {
} out;
};
-/* getinfo classes */
-#define SMB2_GETINFO_FILE 0x01
-#define SMB2_GETINFO_FS 0x02
-#define SMB2_GETINFO_SECURITY 0x03
-#define SMB2_GETINFO_QUOTA 0x04
-
/* NOTE! the getinfo fs and file levels exactly match up with the
'passthru' SMB levels, which are levels >= 1000. The SMB2 client
lib uses the names from the libcli/raw/ library */
diff --git a/source4/libcli/smb2/smb2_constants.h b/source4/libcli/smb2/smb2_constants.h
index 25c49689e5..3047809b74 100644
--- a/source4/libcli/smb2/smb2_constants.h
+++ b/source4/libcli/smb2/smb2_constants.h
@@ -166,4 +166,10 @@
#define SMB2_CONTINUE_FLAG_INDEX 0x04
#define SMB2_CONTINUE_FLAG_REOPEN 0x10
+/* getinfo classes */
+#define SMB2_GETINFO_FILE 0x01
+#define SMB2_GETINFO_FS 0x02
+#define SMB2_GETINFO_SECURITY 0x03
+#define SMB2_GETINFO_QUOTA 0x04
+
#endif