1 | /** @file
|
---|
2 | * Guest Control Service: Internal function used by service, Main and testcase.
|
---|
3 | */
|
---|
4 |
|
---|
5 | /*
|
---|
6 | * Copyright (C) 2010 Sun Microsystems, Inc.
|
---|
7 | *
|
---|
8 | * This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
9 | * available from http://www.virtualbox.org. This file is free software;
|
---|
10 | * you can redistribute it and/or modify it under the terms of the GNU
|
---|
11 | * General Public License (GPL) as published by the Free Software
|
---|
12 | * Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
13 | * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
14 | * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
15 | *
|
---|
16 | * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
|
---|
17 | * Clara, CA 95054 USA or visit http://www.sun.com if you need
|
---|
18 | * additional information or have any questions.
|
---|
19 | */
|
---|
20 |
|
---|
21 | #ifndef VBOX_GCTRL_H
|
---|
22 | #define VBOX_GCTRL_H
|
---|
23 |
|
---|
24 | #include <VBox/err.h>
|
---|
25 | #include <VBox/hgcmsvc.h>
|
---|
26 |
|
---|
27 | namespace guestControl {
|
---|
28 |
|
---|
29 | /** @todo write docs! */
|
---|
30 | int gctrlPrepareExecArgv(char *pszArgs, void **ppvList, uint32_t *pcbList, uint32_t *pcArgs);
|
---|
31 | /** @todo write docs! */
|
---|
32 | int gctrlAddToExecEnvv(const char *pszEnv, void **ppvList, uint32_t *pcbList, uint32_t *pcEnv);
|
---|
33 | /** @todo write docs! */
|
---|
34 | #if 0
|
---|
35 | int gctrlAllocateExecBlock(PVBOXGUESTCTRLEXECBLOCK *ppBlock,
|
---|
36 | const char *pszCmd, uint32_t fFlags,
|
---|
37 | uint32_t cArgs, const char * const *papszArgs,
|
---|
38 | uint32_t cEnvVars, const char * const *papszEnv,
|
---|
39 | const char *pszStdIn, const char *pszStdOut, const char *pszStdErr,
|
---|
40 | const char *pszUsername, const char *pszPassword, RTMSINTERVAL cMillies);
|
---|
41 | /** @todo write docs! */
|
---|
42 | int gctrlFreeExecBlock(PVBOXGUESTCTRLEXECBLOCK pBlock);
|
---|
43 | /** @todo write docs! */
|
---|
44 | int gctrlPrepareHostCmdExec(PVBOXHGCMSVCPARM *ppaParms, uint32_t *pcParms,
|
---|
45 | PVBOXGUESTCTRLEXECBLOCK pBlock);
|
---|
46 | /** @todo write docs! */
|
---|
47 | void gctrlFreeHostCmd(PVBOXHGCMSVCPARM paParms);
|
---|
48 | #endif
|
---|
49 | }
|
---|
50 |
|
---|
51 | #endif /* !VBOX_GCTRL_H */
|
---|
52 |
|
---|