tstUSBLinux.h revision c8278c7ae01edc83719fb99af38f040cc8c495ea
/* $Id $ */
/** @file
* VirtualBox USB Proxy Service class, test version for Linux hosts.
*/
/*
* Copyright (C) 2008 Sun Microsystems, Inc.
*
* Sun Microsystems, Inc. confidential
* All rights reserved
*/
#ifndef ____H_TSTUSBLINUX
#define ____H_TSTUSBLINUX
typedef int HRESULT;
#include <VBox/usbfilter.h>
#ifdef VBOX_USB_WITH_SYSFS
# include "libhal.h"
#endif
#include <stdio.h>
/**
* The Linux hosted USB Proxy Service.
*/
{
PUSBDEVICE getDevicesFromSysfs(void);
int getLastError(void) { return mLastError; }
int start(void) { return VINF_SUCCESS; }
int mLastError;
# ifdef VBOX_USB_WITH_SYSFS
/** Our connection to DBus for getting information from hal. This will be
* NULL if the initialisation failed. */
/** Handle to libhal. */
# endif
};
#endif /* !____H_TSTUSBLINUX */