VirtualBox

source: vbox/trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlExecThread.h@ 38180

Last change on this file since 38180 was 38180, checked in by vboxsync, 13 years ago

VBoxService/GuestCtrl: Updated policy handling for controlling the maximum number of served guest processes.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.9 KB
Line 
1/* $Id: VBoxServiceControlExecThread.h 38180 2011-07-26 12:26:34Z vboxsync $ */
2/** @file
3 * VBoxServiceControlExecThread - Thread for an executed guest process.
4 */
5
6/*
7 * Copyright (C) 2011 Oracle Corporation
8 *
9 * This file is part of VirtualBox Open Source Edition (OSE), as
10 * available from http://www.virtualbox.org. This file is free software;
11 * you can redistribute it and/or modify it under the terms of the GNU
12 * General Public License (GPL) as published by the Free Software
13 * Foundation, in version 2 as it comes in the "COPYING" file of the
14 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16 */
17
18#ifndef ___VBoxServiceControlExecThread_h
19#define ___VBoxServiceControlExecThread_h
20
21#include "VBoxServiceInternal.h"
22
23int VBoxServiceControlExecThreadAlloc(PVBOXSERVICECTRLTHREAD pThread,
24 uint32_t u32ContextID,
25 const char *pszCmd, uint32_t uFlags,
26 const char *pszArgs, uint32_t uNumArgs,
27 const char *pszEnv, uint32_t cbEnv, uint32_t uNumEnvVars,
28 const char *pszUser, const char *pszPassword, uint32_t uTimeLimitMS);
29int VBoxServiceControlExecThreadAssignPID(PVBOXSERVICECTRLTHREADDATAEXEC pData, uint32_t uPID);
30void VBoxServiceControlExecThreadDataDestroy(PVBOXSERVICECTRLTHREADDATAEXEC pData);
31int VBoxServiceControlExecThreadGetOutput(uint32_t uPID, uint32_t uHandleId, uint32_t uTimeout,
32 uint8_t *pBuf, uint32_t cbSize, uint32_t *pcbRead);
33int VBoxServiceControlExecThreadSetInput(uint32_t uPID, bool fPendingClose, uint8_t *pBuf,
34 uint32_t cbSize, uint32_t *pcbWritten);
35int VBoxServiceControlExecThreadStartAllowed(bool *pbAllowed);
36void VBoxServiceControlExecThreadStop(const PVBOXSERVICECTRLTHREAD pThread);
37#endif /* !___VBoxServiceControlExecThread_h */
38
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