1 | /* $Id: vboxfs_vfs.h 25889 2010-01-18 13:02:20Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * VirtualBox File System for Solaris Guests, VFS header.
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2009-2010 Sun Microsystems, Inc.
|
---|
8 | *
|
---|
9 | * This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
10 | * available from http://www.virtualbox.org. This file is free software;
|
---|
11 | * you can redistribute it and/or modify it under the terms of the GNU
|
---|
12 | * General Public License (GPL) as published by the Free Software
|
---|
13 | * Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
14 | * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
15 | * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | *
|
---|
17 | * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
|
---|
18 | * Clara, CA 95054 USA or visit http://www.sun.com if you need
|
---|
19 | * additional information or have any questions.
|
---|
20 | */
|
---|
21 |
|
---|
22 | #ifndef ___VBoxFS_vfs_Solaris_h
|
---|
23 | #define ___VBoxFS_vfs_Solaris_h
|
---|
24 |
|
---|
25 | #ifdef __cplusplus
|
---|
26 | extern "C" {
|
---|
27 | #endif
|
---|
28 |
|
---|
29 | /*
|
---|
30 | * Shared Folders filesystem per-mount data structure.
|
---|
31 | */
|
---|
32 | typedef struct sffs_data {
|
---|
33 | vfs_t *sf_vfsp; /* filesystem's vfs struct */
|
---|
34 | vnode_t *sf_rootnode; /* of vnode of the root directory */
|
---|
35 | uid_t sf_uid; /* owner of all shared folders */
|
---|
36 | gid_t sf_gid; /* group of all shared folders */
|
---|
37 | char *sf_share_name;
|
---|
38 | char *sf_mntpath; /* name of mount point */
|
---|
39 | sfp_mount_t *sf_handle;
|
---|
40 | uint64_t sf_ino; /* per FS ino generator */
|
---|
41 | } sffs_data_t;
|
---|
42 |
|
---|
43 |
|
---|
44 | #ifdef __cplusplus
|
---|
45 | }
|
---|
46 | #endif
|
---|
47 |
|
---|
48 | #endif /* !___VBoxFS_vfs_Solaris_h */
|
---|