libdsm
0.0.4-11-g223c1ba
Minimalist and read-only SMB client lib
|
SMB usefull constants. More...
Macros | |
#define | SMB_MOD_READ (1 << 0) |
Flag for smb_file_open. Request right for reading. | |
#define | SMB_MOD_WRITE (1 << 1) |
Flag for smb_file_open. Request right for writing. | |
#define | SMB_MOD_APPEND (1 << 2) |
Flag for smb_file_open. Request right for appending. | |
#define | SMB_MOD_READ_EXT (1 << 3) |
Flag for smb_file_open. Request right for extended read (?) | |
#define | SMB_MOD_WRITE_EXT (1 << 4) |
Flag for smb_file_open. Request right for extended write (?) | |
#define | SMB_MOD_EXEC (1 << 5) |
Flag for smb_file_open. Request right for execution (?) | |
#define | SMB_MOD_RMCHILD (1 << 6) |
Flag for smb_file_open. Request right for child removal (?) | |
#define | SMB_MOD_READ_ATTR (1 << 7) |
Flag for smb_file_open. Request right for reading file attributes. | |
#define | SMB_MOD_WRITE_ATTR (1 << 8) |
Flag for smb_file_open. Request right for writing file attributes. | |
#define | SMB_MOD_RM (1 << 16) |
Flag for smb_file_open. Request right for removing file. | |
#define | SMB_MOD_READ_CTL (1 << 17) |
Flag for smb_file_open. Request right for reading ACL. | |
#define | SMB_MOD_WRITE_DAC (1 << 18) |
Flag for smb_file_open. Request right for writing ACL. | |
#define | SMB_MOD_CHOWN (1 << 19) |
Flag for smb_file_open. Request right for changing owner. | |
#define | SMB_MOD_SYNC (1 << 20) |
Flag for smb_file_open. (??) | |
#define | SMB_MOD_SYS (1 << 24) |
Flag for smb_file_open. (??) | |
#define | SMB_MOD_MAX_ALLOWED (1 << 25) |
Flag for smb_file_open. (??) | |
#define | SMB_MOD_GENERIC_ALL (1 << 28) |
Flag for smb_file_open. Request all generic rights (??) | |
#define | SMB_MOD_GENERIC_EXEC (1 << 29) |
Flag for smb_file_open. Request generic exec right (??) | |
#define | SMB_MOD_GENERIC_READ (1 << 30) |
Flag for smb_file_open. Request generic read right (??) | |
#define | SMB_MOD_GENERIC_WRITE (1 << 31) |
Flag for smb_file_open. Request generic write right (??) | |
#define | SMB_MOD_RW |
Flag for smb_file_open. Default R/W mode. More... | |
#define | SMB_MOD_RO |
Flag for smb_file_open. Default R/O mode. More... | |
Enumerations | |
enum | { SMB_TRANSPORT_TCP = 1, SMB_TRANSPORT_NBT = 2 } |
enum | { SMB_STATE_ERROR = -1, SMB_STATE_NEW = 0, SMB_STATE_NETBIOS_OK = 1, SMB_STATE_DIALECT_OK = 2, SMB_STATE_SESSION_OK = 3 } |
enum | { SMB_SEEK_SET = 0, SMB_SEEK_CUR = 1 } |
SMB usefull constants.
#define SMB_MOD_RO |
Flag for smb_file_open. Default R/O mode.
A few flags OR'ed
#define SMB_MOD_RW |
Flag for smb_file_open. Default R/W mode.
A few flags OR'ed
anonymous enum |
anonymous enum |