diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-08-07 14:09:42 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-08-07 14:56:22 +0200 |
commit | c2c4d489b685534a3fa879f993d0f4931c6cf44e (patch) | |
tree | 48043b29ee4a0449157ba174f73bf70a037b7f3a /source4/libcli/smb2 | |
parent | 21d6f276fbb4f4c345c5bd9d4d0ee058cae7ea0b (diff) | |
download | samba-c2c4d489b685534a3fa879f993d0f4931c6cf44e.tar.gz samba-c2c4d489b685534a3fa879f993d0f4931c6cf44e.tar.bz2 samba-c2c4d489b685534a3fa879f993d0f4931c6cf44e.zip |
s4:libcli: move SMB2 Find constants to smb2_constants.h
metze
Diffstat (limited to 'source4/libcli/smb2')
-rw-r--r-- | source4/libcli/smb2/smb2_constants.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/source4/libcli/smb2/smb2_constants.h b/source4/libcli/smb2/smb2_constants.h index f1681a3076..25c49689e5 100644 --- a/source4/libcli/smb2/smb2_constants.h +++ b/source4/libcli/smb2/smb2_constants.h @@ -150,4 +150,20 @@ #define SMB2_CREATE_OPTIONS_NOT_SUPPORTED_MASK (NTCREATEX_OPTIONS_TREE_CONNECTION | \ NTCREATEX_OPTIONS_OPFILTER) +/* + SMB2 uses different level numbers for the same old SMB trans2 search levels +*/ +#define SMB2_FIND_DIRECTORY_INFO 0x01 +#define SMB2_FIND_FULL_DIRECTORY_INFO 0x02 +#define SMB2_FIND_BOTH_DIRECTORY_INFO 0x03 +#define SMB2_FIND_NAME_INFO 0x0C +#define SMB2_FIND_ID_BOTH_DIRECTORY_INFO 0x25 +#define SMB2_FIND_ID_FULL_DIRECTORY_INFO 0x26 + +/* flags for SMB2 find */ +#define SMB2_CONTINUE_FLAG_RESTART 0x01 +#define SMB2_CONTINUE_FLAG_SINGLE 0x02 +#define SMB2_CONTINUE_FLAG_INDEX 0x04 +#define SMB2_CONTINUE_FLAG_REOPEN 0x10 + #endif |