1 | /* $Id: VBoxSFMount.h 76563 2019-01-01 03:53:56Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * VBoxSF - Darwin Shared Folders, mount interface.
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2013-2019 Oracle Corporation
|
---|
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 |
|
---|
18 | #ifndef GA_INCLUDED_SRC_darwin_VBoxSF_VBoxSFMount_h
|
---|
19 | #define GA_INCLUDED_SRC_darwin_VBoxSF_VBoxSFMount_h
|
---|
20 | #ifndef RT_WITHOUT_PRAGMA_ONCE
|
---|
21 | # pragma once
|
---|
22 | #endif
|
---|
23 |
|
---|
24 | #include <iprt/types.h>
|
---|
25 |
|
---|
26 | /** The shared folders file system name. */
|
---|
27 | #define VBOXSF_DARWIN_FS_NAME "vboxsf"
|
---|
28 |
|
---|
29 | /**
|
---|
30 | * Mount information that gets passed from userland on mount.
|
---|
31 | */
|
---|
32 | typedef struct VBOXSFDRWNMOUNTINFO
|
---|
33 | {
|
---|
34 | /** Magic value (VBOXSFDRWNMOUNTINFO_MAGIC). */
|
---|
35 | uint32_t u32Magic;
|
---|
36 | /** The shared folder name. */
|
---|
37 | char szFolder[260];
|
---|
38 | } VBOXSFDRWNMOUNTINFO;
|
---|
39 | typedef VBOXSFDRWNMOUNTINFO *PVBOXSFDRWNMOUNTINFO;
|
---|
40 | /** Magic value for VBOXSFDRWNMOUNTINFO::u32Magic. */
|
---|
41 | #define VBOXSFDRWNMOUNTINFO_MAGIC UINT32_C(0xc001cafe)
|
---|
42 |
|
---|
43 | #endif /* !GA_INCLUDED_SRC_darwin_VBoxSF_VBoxSFMount_h */
|
---|
44 |
|
---|