Last change
on this file since 9663 was 9177, checked in by vboxsync, 17 years ago |
tabs
|
-
Property svn:eol-style
set to
native
-
Property svn:keyword
set to
Id
-
Property svn:keywords
set to
Id
|
File size:
1.1 KB
|
Line | |
---|
1 | /* $Id: vboxvfs.h 9177 2008-05-27 16:14:44Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * VirtualBox File System Driver for Solaris Guests, Internal Header.
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2008 Sun Microsystems, Inc.
|
---|
8 | *
|
---|
9 | * Sun Microsystems, Inc. confidential
|
---|
10 | * All rights reserved
|
---|
11 | */
|
---|
12 |
|
---|
13 | #ifndef ___VBoxVFS_Solaris_h
|
---|
14 | #define ___VBoxVFS_Solaris_h
|
---|
15 |
|
---|
16 | #ifdef __cplusplus
|
---|
17 | extern "C" {
|
---|
18 | #endif
|
---|
19 |
|
---|
20 | #define MAX_HOST_NAME 256
|
---|
21 | #define MAX_NLS_NAME 32
|
---|
22 |
|
---|
23 | /* Not sure if we need this; it seems only necessary for kernel mounts. */
|
---|
24 | typedef struct vboxvfs_mountinfo
|
---|
25 | {
|
---|
26 | char name[MAX_HOST_NAME];
|
---|
27 | char nls_name[MAX_NLS_NAME];
|
---|
28 | int uid;
|
---|
29 | int gid;
|
---|
30 | int ttl;
|
---|
31 | } vboxvfs_mountinfo_t;
|
---|
32 |
|
---|
33 | #ifdef _KERNEL
|
---|
34 |
|
---|
35 | #include "../../common/VBoxGuestLib/VBoxCalls.h"
|
---|
36 | #include <sys/vfs.h>
|
---|
37 | #include <sys/vfs_opreg.h>
|
---|
38 |
|
---|
39 | /** Per-file system mount instance data. */
|
---|
40 | typedef struct vboxvfs_globinfo
|
---|
41 | {
|
---|
42 | VBSFMAP Map;
|
---|
43 | int Ttl;
|
---|
44 | int Uid;
|
---|
45 | int Gid;
|
---|
46 | vfs_t *pVFS;
|
---|
47 | dev_t Dev;
|
---|
48 | vnode_t *pVNodeDev;
|
---|
49 | vnode_t *pVNodeRoot;
|
---|
50 | } vboxvfs_globinfo_t;
|
---|
51 |
|
---|
52 | extern struct vnodeops *g_pVBoxVFS_vnodeops;
|
---|
53 | extern const fs_operation_def_t g_VBoxVFS_vnodeops_template[];
|
---|
54 |
|
---|
55 | #endif /* _KERNEL */
|
---|
56 |
|
---|
57 | #ifdef __cplusplus
|
---|
58 | }
|
---|
59 | #endif
|
---|
60 |
|
---|
61 | #endif /* ___VBoxVFS_Solaris_h */
|
---|
62 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.