mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 14:45:24 +00:00
8d2e24d6a8
Add vboxArrayGetWithUintArg to handle new signature variations. Also refactor vboxArrayGet* implementation to use a common helper function. Deal with the incompatible changes in the VirtualBox 4.0 API. This includes major changes in virtual machine and storage medium lookup, in RDP server property handling, in session/lock handling and other minor areas. VirtualBox 4.0 also dropped the old event API and replaced it with a completely new one. This is not fixed yet and will be addressed in another patch. Therefore, currently the domain events are supported for VirtualBox 3.x only. Based on initial work from Jean-Baptiste Rouault.
14 lines
273 B
C
14 lines
273 B
C
/** @file vbox_V4_0.c
|
|
* C file to include support for multiple versions of VirtualBox
|
|
* at runtime.
|
|
*/
|
|
|
|
#include <config.h>
|
|
|
|
/** The API Version */
|
|
#define VBOX_API_VERSION 4000
|
|
/** Version specific prefix. */
|
|
#define NAME(name) vbox40##name
|
|
|
|
#include "vbox_tmpl.c"
|