1 | /** @file
|
---|
2 | * VirtualBox File System Driver for Solaris Guests, VFS header.
|
---|
3 | */
|
---|
4 |
|
---|
5 | /*
|
---|
6 | * Copyright (C) 2009 Sun Microsystems, Inc.
|
---|
7 | *
|
---|
8 | * Sun Microsystems, Inc. confidential
|
---|
9 | * All rights reserved
|
---|
10 | */
|
---|
11 |
|
---|
12 | #ifndef __VBoxFS_vfs_Solaris_h
|
---|
13 | #define __VBoxFS_vfs_Solaris_h
|
---|
14 |
|
---|
15 | #ifdef __cplusplus
|
---|
16 | extern "C" {
|
---|
17 | #endif
|
---|
18 |
|
---|
19 | /*
|
---|
20 | * Shared Folders filesystem per-mount data structure.
|
---|
21 | */
|
---|
22 | typedef struct sffs_data {
|
---|
23 | vfs_t *sf_vfsp; /* filesystem's vfs struct */
|
---|
24 | vnode_t *sf_rootnode; /* of vnode of the root directory */
|
---|
25 | uid_t sf_uid; /* owner of all shared folders */
|
---|
26 | gid_t sf_gid; /* group of all shared folders */
|
---|
27 | char *sf_share_name;
|
---|
28 | char *sf_mntpath; /* name of mount point */
|
---|
29 | sfp_mount_t *sf_handle;
|
---|
30 | uint64_t sf_ino; /* per FS ino generator */
|
---|
31 | } sffs_data_t;
|
---|
32 |
|
---|
33 |
|
---|
34 | #ifdef __cplusplus
|
---|
35 | }
|
---|
36 | #endif
|
---|
37 |
|
---|
38 | #endif /* __VBoxFS_vfs_Solaris_h */
|
---|