summaryrefslogtreecommitdiffstats
path: root/source4/libcli
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-11-29 12:00:24 +0100
committerStefan Metzmacher <metze@samba.org>2014-01-07 08:37:38 +0100
commit306cba4b8c3bcf5aa1e13296eaebbe212bb35a48 (patch)
tree3e4c3ef748007dfde57229063953e61f582325d8 /source4/libcli
parent54c0bde3e98059db8faa26c967c804143e679c8e (diff)
downloadsamba-306cba4b8c3bcf5aa1e13296eaebbe212bb35a48.tar.gz
samba-306cba4b8c3bcf5aa1e13296eaebbe212bb35a48.tar.xz
samba-306cba4b8c3bcf5aa1e13296eaebbe212bb35a48.zip
libcli/smb: move some FILE_* flags to smb_constants.h
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/raw/smb.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/source4/libcli/raw/smb.h b/source4/libcli/raw/smb.h
index 38aefb6745e..7fbbd0c0c3e 100644
--- a/source4/libcli/raw/smb.h
+++ b/source4/libcli/raw/smb.h
@@ -226,22 +226,6 @@
/* the desired access to use when opening a pipe */
#define DESIRED_ACCESS_PIPE 0x2019f
-
-/* Flags - combined with attributes. */
-#define FILE_FLAG_WRITE_THROUGH 0x80000000L
-#define FILE_FLAG_NO_BUFFERING 0x20000000L
-#define FILE_FLAG_RANDOM_ACCESS 0x10000000L
-#define FILE_FLAG_SEQUENTIAL_SCAN 0x08000000L
-#define FILE_FLAG_DELETE_ON_CLOSE 0x04000000L
-#define FILE_FLAG_BACKUP_SEMANTICS 0x02000000L /* only if backup/restore privilege? */
-#define FILE_FLAG_POSIX_SEMANTICS 0x01000000L
-
-/* Responses when opening a file. */
-#define FILE_WAS_SUPERSEDED 0
-#define FILE_WAS_OPENED 1
-#define FILE_WAS_CREATED 2
-#define FILE_WAS_OVERWRITTEN 3
-
/* Flag for NT transact rename call. */
#define RENAME_REPLACE_IF_EXISTS 1