1 | /* $Id: VBoxDDUDeps.cpp 82968 2020-02-04 10:35:17Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * VBoxDDU - For dragging in library objects.
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2007-2020 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/types.h>
|
---|
23 | #include <VBox/vd.h>
|
---|
24 | #ifdef VBOX_WITH_USB
|
---|
25 | # include <VBox/usblib.h>
|
---|
26 | # include <VBox/usbfilter.h>
|
---|
27 | # ifdef RT_OS_OS2
|
---|
28 | # include <os2.h>
|
---|
29 | # include <usbcalls.h>
|
---|
30 | # endif
|
---|
31 | #endif
|
---|
32 |
|
---|
33 | /** Just a dummy global structure containing a bunch of
|
---|
34 | * function pointers to code which is wanted in the link.
|
---|
35 | */
|
---|
36 | PFNRT g_apfnVBoxDDUDeps[] =
|
---|
37 | {
|
---|
38 | (PFNRT)VDInit,
|
---|
39 | (PFNRT)VDIfCreateVfsStream,
|
---|
40 | (PFNRT)VDIfCreateFromVfsStream,
|
---|
41 | (PFNRT)VDCreateVfsFileFromDisk,
|
---|
42 | (PFNRT)VDIfTcpNetInstDefaultCreate,
|
---|
43 | #ifdef VBOX_WITH_USB
|
---|
44 | (PFNRT)USBFilterInit,
|
---|
45 | (PFNRT)USBLibHashSerial,
|
---|
46 | # ifdef RT_OS_OS2
|
---|
47 | (PFNRT)UsbOpen,
|
---|
48 | # endif
|
---|
49 | # if defined(RT_OS_DARWIN) || defined(RT_OS_SOLARIS) || defined(RT_OS_WINDOWS) /* PORTME */
|
---|
50 | (PFNRT)USBLibInit,
|
---|
51 | # endif
|
---|
52 | #endif /* VBOX_WITH_USB */
|
---|
53 | NULL
|
---|
54 | };
|
---|
55 |
|
---|