Changeset 11507 in vbox for trunk/src/VBox/Additions/linux/sharedfolders/vbsfmount.h
- Timestamp:
- Aug 20, 2008 9:39:18 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 35028
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/sharedfolders/vbsfmount.h
r8155 r11507 22 22 #define VBFS_MOUNT_H 23 23 24 #define MAX_HOST_NAME 25625 #define MAX_NLS_NAME 3224 #define MAX_HOST_NAME 256 25 #define MAX_NLS_NAME 32 26 26 27 27 /* Linux constraints the size of data mount argument to PAGE_SIZE - 1 */ 28 struct vbsf_mount_info { 28 struct vbsf_mount_info_old 29 { 29 30 char name[MAX_HOST_NAME]; 30 31 char nls_name[MAX_NLS_NAME]; 31 int uid; 32 int gid; 33 int ttl; 32 int uid; 33 int gid; 34 int ttl; 35 }; 36 37 #define VBSF_MOUNT_SIGNATURE_BYTE_0 '\377' 38 #define VBSF_MOUNT_SIGNATURE_BYTE_1 '\376' 39 #define VBSF_MOUNT_SIGNATURE_BYTE_2 '\375' 40 41 struct vbsf_mount_info_new 42 { 43 char nullchar; /* name cannot be '\0' -- we use this field 44 to distinguish between the old structure 45 and the new structure */ 46 char signature[3]; /* signature */ 47 int length; /* length of the whole structure */ 48 char name[MAX_HOST_NAME]; /* share name */ 49 char nls_name[MAX_NLS_NAME];/* name of an I/O charset */ 50 int uid; /* user ID for all entries, default 0=root */ 51 int gid; /* group ID for all entries, default 0=root */ 52 int ttl; /* time to live */ 53 int dmode; /* mode for directories if != 0xffffffff */ 54 int fmode; /* mode for regular files if != 0xffffffff */ 55 int dmask; /* umask applied to directories */ 56 int fmask; /* umask applied to regular files */ 34 57 }; 35 58
Note:
See TracChangeset
for help on using the changeset viewer.