VirtualBox

source: vbox/trunk/src/VBox/Frontends/VBoxManage/VBoxManage.h@ 2397

Last change on this file since 2397 was 1489, checked in by vboxsync, 18 years ago

r=bird: added missing ().

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.0 KB
Line 
1/** @file
2 *
3 * VBox frontends: VBoxManage (command-line interface):
4 * VBoxManage header.
5 */
6
7/*
8 * Copyright (C) 2006 InnoTek Systemberatung GmbH
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 as published by the Free Software Foundation,
14 * in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
15 * distribution. VirtualBox OSE is distributed in the hope that it will
16 * be useful, but WITHOUT ANY WARRANTY of any kind.
17 *
18 * If you received this file as part of a commercial VirtualBox
19 * distribution, then only the terms of your commercial VirtualBox
20 * license agreement apply instead of the previous paragraph.
21 */
22
23#ifndef __H_VBOXMANAGE
24#define __H_VBOXMANAGE
25
26/** Syntax diagram category. */
27#define USAGE_DUMPOPTS 0
28#define USAGE_LIST BIT64(0)
29#define USAGE_SHOWVMINFO BIT64(1)
30#define USAGE_REGISTERVM BIT64(2)
31#define USAGE_UNREGISTERVM BIT64(3)
32#define USAGE_CREATEVM BIT64(4)
33#define USAGE_MODIFYVM BIT64(5)
34#define USAGE_STARTVM BIT64(6)
35#define USAGE_CONTROLVM BIT64(7)
36#define USAGE_DISCARDSTATE BIT64(8)
37#define USAGE_SNAPSHOT BIT64(9)
38#define USAGE_REGISTERIMAGE BIT64(10)
39#define USAGE_UNREGISTERIMAGE BIT64(11)
40#define USAGE_SHOWVDIINFO BIT64(12)
41#define USAGE_CREATEVDI BIT64(13)
42#define USAGE_MODIFYVDI BIT64(14)
43#define USAGE_CLONEVDI BIT64(15)
44#define USAGE_ADDISCSIDISK BIT64(16)
45#define USAGE_CREATEHOSTIF BIT64(17)
46#define USAGE_REMOVEHOSTIF BIT64(18)
47#define USAGE_GETEXTRADATA BIT64(19)
48#define USAGE_SETEXTRADATA BIT64(20)
49#define USAGE_SETPROPERTY BIT64(21)
50#define USAGE_USBFILTER (BIT64(22) | BIT64(23) | BIT64(24))
51#define USAGE_USBFILTER_ADD BIT64(22)
52#define USAGE_USBFILTER_MODIFY BIT64(23)
53#define USAGE_USBFILTER_REMOVE BIT64(24)
54#define USAGE_SHAREDFOLDER (BIT64(25) | BIT64(26))
55#define USAGE_SHAREDFOLDER_ADD BIT64(25)
56#define USAGE_SHAREDFOLDER_REMOVE BIT64(26)
57#define USAGE_UPDATESETTINGS BIT64(27)
58#define USAGE_LOADSYMS BIT64(29)
59#define USAGE_UNLOADSYMS BIT64(30)
60#define USAGE_SETVDIUUID BIT64(31)
61#define USAGE_CONVERTDD BIT64(32)
62#define USAGE_ALL (~(uint64_t)0)
63
64typedef uint64_t USAGECATEGORY;
65
66/** flag whether we're in internal mode */
67extern bool fInternalMode;
68
69/*
70 * Prototypes
71 */
72int errorSyntax(USAGECATEGORY u64Cmd, const char *pszFormat, ...);
73int errorArgument(const char *pszFormat, ...);
74
75void printUsageInternal(USAGECATEGORY u64Cmd);
76int handleInternalCommands(int argc, char *argv[],
77 ComPtr <IVirtualBox> aVirtualBox, ComPtr<ISession> aSession);
78
79
80#endif /* !__H_VBOXMANAGE */
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