[23860] | 1 | /** @file
|
---|
| 2 | *
|
---|
[28406] | 3 | * Module to dynamically load libvdeplug and load all symbols
|
---|
| 4 | * which are needed by VirtualBox - header file.
|
---|
[23860] | 5 | */
|
---|
| 6 |
|
---|
| 7 | /*
|
---|
[28800] | 8 | * Copyright (C) 2008-2010 Oracle Corporation
|
---|
[23860] | 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 (GPL) as published by the Free Software
|
---|
| 14 | * Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
| 15 | * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
| 16 | * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
[29200] | 17 | *
|
---|
| 18 | * The contents of this file may alternatively be used under the terms
|
---|
| 19 | * of the Common Development and Distribution License Version 1.0
|
---|
| 20 | * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
|
---|
| 21 | * VirtualBox OSE distribution, in which case the provisions of the
|
---|
| 22 | * CDDL are applicable instead of those of the GPL.
|
---|
| 23 | *
|
---|
| 24 | * You may elect to license modified versions of this file under the
|
---|
| 25 | * terms and conditions of either the GPL or the CDDL or both.
|
---|
[23860] | 26 | */
|
---|
| 27 |
|
---|
[28406] | 28 | #ifndef ___VBox_VDEPlug_h
|
---|
| 29 | #define ___VBox_VDEPlug_h
|
---|
[23860] | 30 |
|
---|
[28406] | 31 | #define LIBVDEPLUG_INTERFACE_VERSION 1
|
---|
[23860] | 32 |
|
---|
[28406] | 33 | #define vde_open(vde_switch, descr, open_args) \
|
---|
| 34 | vde_open_real((vde_switch), (descr), LIBVDEPLUG_INTERFACE_VERSION, (open_args))
|
---|
[25477] | 35 |
|
---|
[28406] | 36 | /* Declarations of the functions that we need from the library */
|
---|
| 37 | #define VDEPLUG_GENERATE_HEADER
|
---|
[25477] | 38 |
|
---|
[29122] | 39 | #include <VBox/VDEPlugSymDefs.h>
|
---|
[25477] | 40 |
|
---|
[28406] | 41 | #undef VDEPLUG_GENERATE_HEADER
|
---|
[25477] | 42 |
|
---|
[28406] | 43 | #endif /* ___VBox_VDEPlug_h not defined */
|
---|
[23860] | 44 | /* vi: set tabstop=4 shiftwidth=4 expandtab: */
|
---|