VirtualBox

source: vbox/trunk/src/VBox/ImageMounter/vboximg-mount/vboximgOpts.h@ 77937

Last change on this file since 77937 was 76585, checked in by vboxsync, 6 years ago

*: scm --fix-header-guard-endif

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.4 KB
Line 
1
2/* $Id: vboximgOpts.h 76585 2019-01-01 06:31:29Z vboxsync $ $Revision: 76585 $ $Date: 2019-01-01 06:31:29 +0000 (Tue, 01 Jan 2019) $ $Author: vboxsync $ */
3
4/** @file
5 * vboximgOpts.h
6 */
7
8/*
9 * Copyright (C) 2008-2019 Oracle Corporation
10 *
11 * This file is part of VirtualBox Open Source Edition (OSE), as
12 * available from http://www.virtualbox.org. This file is free software;
13 * you can redistribute it and/or modify it under the terms of the GNU
14 * General Public License (GPL) as published by the Free Software
15 * Foundation, in version 2 as it comes in the "COPYING" file of the
16 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
17 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
18 */
19
20#ifndef VBOX_INCLUDED_SRC_vboximg_mount_vboximgOpts_h
21#define VBOX_INCLUDED_SRC_vboximg_mount_vboximgOpts_h
22#ifndef RT_WITHOUT_PRAGMA_ONCE
23# pragma once
24#endif
25
26
27typedef struct vboximgOpts {
28 char *pszVm; /** optional VM UUID */
29 char *pszImageUuidOrPath; /** Virtual Disk image UUID or path */
30 int32_t idxPartition; /** Number of partition to constrain FUSE based FS to (optional) 0 - whole disk*/
31 int32_t offset; /** Offset to base virtual disk reads and writes from (altnerative to partition) */
32 int32_t size; /** Size of accessible disk region, starting at offset, default = offset 0 */
33 uint32_t fListMediaLong; /** Flag to list virtual disks of all known VMs */
34 uint32_t fVerboseList; /** FUSE parsing doesn't understand combined flags (-lv, -vl), so we kludge it */
35 uint32_t fWideList; /** FUSE parsing doesn't understand combined flags,(-lw, -wl) so we kludge it */
36 uint32_t fList; /** Flag to list virtual disks of all known VMs */
37 uint32_t fListParts; /** Flag to summarily list partitions associated with pszImage */
38 uint32_t fAllowRoot; /** Flag to allow root to access this FUSE FS */
39 uint32_t fRW; /** Flag to allow changes to FUSE-mounted Virtual Disk image */
40 uint32_t fWide; /** Flag to use wide-format list mode */
41 uint32_t fBriefUsage; /** Flag to display only FS-specific program usage options */
42 uint32_t fVerbose; /** Add more info to lists and operations */
43} VBOXIMGOPTS;
44
45
46#endif /* !VBOX_INCLUDED_SRC_vboximg_mount_vboximgOpts_h */
Note: See TracBrowser for help on using the repository browser.

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