Last change
on this file since 76271 was 76271, checked in by vboxsync, 6 years ago |
Overhauled around Klaus's snapshot/locking design.. Stubbed out attempted encryption code for now, generates appropriate message for encrypted disks for now. Unit tested, w/close attention to locking, against running VMs (btw: the wide listing shows media state for helpful w.r.t. to determining lock state)
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
965 bytes
|
Line | |
---|
1 | /* $Id: vboximgMedia.h 76271 2018-12-18 05:29:30Z vboxsync $ $Revision: 76271 $ $Date: 2018-12-18 05:29:30 +0000 (Tue, 18 Dec 2018) $ $Author: vboxsync $ */
|
---|
2 |
|
---|
3 | /** @file
|
---|
4 | * vboximgMedia.h
|
---|
5 | */
|
---|
6 |
|
---|
7 | /*
|
---|
8 | * Copyright (C) 2008-2017 Oracle Corporation
|
---|
9 | *
|
---|
10 | * This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
11 | * available from http://www.virtualbox.org. This file is free software;
|
---|
12 | * you can redistribute it and/or modify it under the terms of the GNU
|
---|
13 | * General Public License (GPL) as published by the Free Software
|
---|
14 | * Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
15 | * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
16 | * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
17 | */
|
---|
18 |
|
---|
19 | #ifndef ____H_VBOXIMGMEDIA
|
---|
20 | #define ____H_VBOXIMGMEDIA
|
---|
21 |
|
---|
22 | typedef struct MEDIUMINFO
|
---|
23 | {
|
---|
24 | char *name;
|
---|
25 | char *uuid;
|
---|
26 | char *location;
|
---|
27 | char *description;
|
---|
28 | char *state;
|
---|
29 | char *size;
|
---|
30 | char *format;
|
---|
31 | int ro;
|
---|
32 | } MEDIUMINFO;
|
---|
33 |
|
---|
34 | int vboximgListVMs(IVirtualBox *pVirtualBox);
|
---|
35 | char *vboximgScaledSize(size_t size);
|
---|
36 |
|
---|
37 | #endif /* ____H_VBOXIMGMEDIA */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.