Last change
on this file since 52934 was 50228, checked in by vboxsync, 11 years ago |
USB/Proxy: Start a source code cleanup, remove unused struct members and make the generic proxy code do the backend specific memory allocation (fixes a small memory leak in the VRDP backend when closing a proxy device)
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
1.6 KB
|
Line | |
---|
1 | /* $Id: USBProxyDevice-stub.cpp 50228 2014-01-24 21:16:37Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * USB device proxy - Stub.
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2008-2010 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 |
|
---|
19 | /*******************************************************************************
|
---|
20 | * Header Files *
|
---|
21 | *******************************************************************************/
|
---|
22 | #include <VBox/vmm/pdm.h>
|
---|
23 |
|
---|
24 | #include "USBProxyDevice.h"
|
---|
25 |
|
---|
26 | /*******************************************************************************
|
---|
27 | * Global Variables *
|
---|
28 | *******************************************************************************/
|
---|
29 | /**
|
---|
30 | * Stub USB Proxy Backend.
|
---|
31 | */
|
---|
32 | extern const USBPROXYBACK g_USBProxyDeviceHost =
|
---|
33 | {
|
---|
34 | "host",
|
---|
35 | 0, /* cbBackend */
|
---|
36 | NULL, /* Open */
|
---|
37 | NULL, /* Init */
|
---|
38 | NULL, /* Close */
|
---|
39 | NULL, /* Reset */
|
---|
40 | NULL, /* SetConfig */
|
---|
41 | NULL, /* ClaimInterface */
|
---|
42 | NULL, /* ReleaseInterface */
|
---|
43 | NULL, /* SetInterface */
|
---|
44 | NULL, /* ClearHaltedEp */
|
---|
45 | NULL, /* UrbQueue */
|
---|
46 | NULL, /* UrbCancel */
|
---|
47 | NULL, /* UrbReap */
|
---|
48 | 0
|
---|
49 | };
|
---|
50 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.