VirtualBox

source: vbox/trunk/src/VBox/Additions/solaris/SharedFolders/vboxvfs.h@ 9430

最後變更 在這個檔案從9430是 9177,由 vboxsync 提交於 17 年 前

tabs

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keyword 設為 Id
  • 屬性 svn:keywords 設為 Id
檔案大小: 1.1 KB
 
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
17extern "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. */
24typedef 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. */
40typedef 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
52extern struct vnodeops *g_pVBoxVFS_vnodeops;
53extern 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
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette