tstUSBLinux.h revision e64031e20c39650a7bc902a3e1aba613b9415dee
c8278c7ae01edc83719fb99af38f040cc8c495eavboxsync * VirtualBox USB Proxy Service class, test version for Linux hosts.
e64031e20c39650a7bc902a3e1aba613b9415deevboxsync * Copyright (C) 2008 Oracle Corporation
b642fb1edcf7e8c0ddb37bed00c3960e9368e5e1vboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
b642fb1edcf7e8c0ddb37bed00c3960e9368e5e1vboxsync * available from http://www.virtualbox.org. This file is free software;
b642fb1edcf7e8c0ddb37bed00c3960e9368e5e1vboxsync * you can redistribute it and/or modify it under the terms of the GNU
b642fb1edcf7e8c0ddb37bed00c3960e9368e5e1vboxsync * General Public License (GPL) as published by the Free Software
b642fb1edcf7e8c0ddb37bed00c3960e9368e5e1vboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
b642fb1edcf7e8c0ddb37bed00c3960e9368e5e1vboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
b642fb1edcf7e8c0ddb37bed00c3960e9368e5e1vboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
c8278c7ae01edc83719fb99af38f040cc8c495eavboxsync * The Linux hosted USB Proxy Service.
c8278c7ae01edc83719fb99af38f040cc8c495eavboxsync USBProxyServiceLinux() : mLastError(VINF_SUCCESS) {}
c8278c7ae01edc83719fb99af38f040cc8c495eavboxsync static void freeDevice(PUSBDEVICE) {} /* We don't care about leaks in a test. */
c8278c7ae01edc83719fb99af38f040cc8c495eavboxsync int usbProbeInterfacesFromLibhal(const char *pszHalUuid, PUSBDEVICE pDev);
c8278c7ae01edc83719fb99af38f040cc8c495eavboxsync /** Our connection to DBus for getting information from hal. This will be
c8278c7ae01edc83719fb99af38f040cc8c495eavboxsync * NULL if the initialisation failed. */
c8278c7ae01edc83719fb99af38f040cc8c495eavboxsync /** Handle to libhal. */
c8278c7ae01edc83719fb99af38f040cc8c495eavboxsync#endif /* !____H_TSTUSBLINUX */