VirtualBox

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

Last change on this file since 9672 was 9672, checked in by vboxsync, 17 years ago

Solaris vboxvfs: more untested code.

  • 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 9672 2008-06-13 08:01:07Z 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. */
24#if 0
25typedef struct vboxvfs_mountinfo
26{
27 char name[MAX_HOST_NAME];
28 char nls_name[MAX_NLS_NAME];
29 int uid;
30 int gid;
31 int ttl;
32} vboxvfs_mountinfo_t;
33#endif
34
35#ifdef _KERNEL
36
37#include "../../common/VBoxGuestLib/VBoxCalls.h"
38#include <sys/vfs.h>
39#include <sys/vfs_opreg.h>
40
41/** Per-file system mount instance data. */
42typedef struct vboxvfs_globinfo
43{
44 VBSFMAP Map;
45 int Ttl;
46 int Uid;
47 int Gid;
48 vfs_t *pVFS;
49 vnode_t *pVNodeDev;
50 vnode_t *pVNodeRoot;
51} vboxvfs_globinfo_t;
52
53extern struct vnodeops *g_pVBoxVFS_vnodeops;
54extern const fs_operation_def_t g_VBoxVFS_vnodeops_template[];
55
56#endif /* _KERNEL */
57
58#ifdef __cplusplus
59}
60#endif
61
62#endif /* ___VBoxVFS_Solaris_h */
63
Note: See TracBrowser for help on using the repository browser.

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