Changeset 988 for vendor/current/source3/smbd/smbd.h
- Timestamp:
- Nov 24, 2016, 1:14:11 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/source3/smbd/smbd.h
r740 r988 20 20 #define _SMBD_SMBD_H 21 21 22 struct dptr_struct; 23 22 24 #include "smb_acls.h" 23 25 #include "vfs.h" … … 25 27 #include "locking/proto.h" 26 28 29 /* 30 * Pathnames used if request done 31 * under privilege. 32 */ 33 struct privilege_paths { 34 struct smb_filename parent_name; 35 struct smb_filename file_name; 36 }; 37 38 struct trans_state { 39 struct trans_state *next, *prev; 40 uint64_t vuid; /* SMB2 compat */ 41 uint64_t mid; 42 43 uint32_t max_param_return; 44 uint32_t max_data_return; 45 uint32_t max_setup_return; 46 47 uint8_t cmd; /* SMBtrans or SMBtrans2 */ 48 49 char *name; /* for trans requests */ 50 uint16_t call; /* for trans2 and nttrans requests */ 51 52 bool close_on_completion; 53 bool one_way; 54 55 unsigned int setup_count; 56 uint16_t *setup; 57 58 size_t received_data; 59 size_t received_param; 60 61 size_t total_param; 62 char *param; 63 64 size_t total_data; 65 char *data; 66 }; 67 68 /* 69 * unix_convert_flags 70 */ 71 #define UCF_SAVE_LCOMP 0x00000001 72 #define UCF_ALWAYS_ALLOW_WCARD_LCOMP 0x00000002 73 #define UCF_COND_ALLOW_WCARD_LCOMP 0x00000004 74 #define UCF_POSIX_PATHNAMES 0x00000008 75 #define UCF_UNIX_NAME_LOOKUP 0x00000010 76 #define UCF_PREP_CREATEFILE 0x00000020 77 27 78 #endif /* _SMBD_SMBD_H */
Note:
See TracChangeset
for help on using the changeset viewer.