1 |
|
---|
2 | /* $Id: vboximgOpts.h 106061 2024-09-16 14:03:52Z vboxsync $ $Revision: 106061 $ $Date: 2024-09-16 14:03:52 +0000 (Mon, 16 Sep 2024) $ $Author: vboxsync $ */
|
---|
3 |
|
---|
4 | /** @file
|
---|
5 | * vboximgOpts.h
|
---|
6 | */
|
---|
7 |
|
---|
8 | /*
|
---|
9 | * Copyright (C) 2008-2024 Oracle and/or its affiliates.
|
---|
10 | *
|
---|
11 | * This file is part of VirtualBox base platform packages, as
|
---|
12 | * available from https://www.virtualbox.org.
|
---|
13 | *
|
---|
14 | * This program is free software; you can redistribute it and/or
|
---|
15 | * modify it under the terms of the GNU General Public License
|
---|
16 | * as published by the Free Software Foundation, in version 3 of the
|
---|
17 | * License.
|
---|
18 | *
|
---|
19 | * This program is distributed in the hope that it will be useful, but
|
---|
20 | * WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
22 | * General Public License for more details.
|
---|
23 | *
|
---|
24 | * You should have received a copy of the GNU General Public License
|
---|
25 | * along with this program; if not, see <https://www.gnu.org/licenses>.
|
---|
26 | *
|
---|
27 | * SPDX-License-Identifier: GPL-3.0-only
|
---|
28 | */
|
---|
29 |
|
---|
30 | #ifndef VBOX_INCLUDED_SRC_vboximg_mount_vboximgOpts_h
|
---|
31 | #define VBOX_INCLUDED_SRC_vboximg_mount_vboximgOpts_h
|
---|
32 | #ifndef RT_WITHOUT_PRAGMA_ONCE
|
---|
33 | # pragma once
|
---|
34 | #endif
|
---|
35 |
|
---|
36 |
|
---|
37 | typedef struct vboximgOpts {
|
---|
38 | char *pszVm; /** optional VM UUID */
|
---|
39 | char *pszImageUuidOrPath; /** Virtual Disk image UUID or path */
|
---|
40 | uint32_t fListMediaLong; /** Flag to list virtual disks of all known VMs */
|
---|
41 | uint32_t fVerboseList; /** FUSE parsing doesn't understand combined flags (-lv, -vl), so we kludge it */
|
---|
42 | uint32_t fWideList; /** FUSE parsing doesn't understand combined flags,(-lw, -wl) so we kludge it */
|
---|
43 | uint32_t fList; /** Flag to list virtual disks of all known VMs */
|
---|
44 | uint32_t fListParts; /** Flag to summarily list partitions associated with pszImage */
|
---|
45 | uint32_t fGstFs; /** Flag to try to exposes supported filesystems directly in the mountpoint inside a subdirectory */
|
---|
46 | uint32_t fAllowRoot; /** Flag to allow root to access this FUSE FS */
|
---|
47 | uint32_t fRW; /** Flag to allow changes to FUSE-mounted Virtual Disk image */
|
---|
48 | uint32_t fWide; /** Flag to use wide-format list mode */
|
---|
49 | uint32_t fBriefUsage; /** Flag to display only FS-specific program usage options */
|
---|
50 | uint32_t fVerbose; /** Add more info to lists and operations */
|
---|
51 | } VBOXIMGOPTS;
|
---|
52 |
|
---|
53 |
|
---|
54 | #endif /* !VBOX_INCLUDED_SRC_vboximg_mount_vboximgOpts_h */
|
---|