vrdpusb.h revision 48ed44c3d45050ba791e2182e9b08bf6ae64a5ae
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * Copyright (C) 2006-2007 Sun Microsystems, Inc.
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * available from http://www.virtualbox.org. This file is free software;
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * you can redistribute it and/or modify it under the terms of the GNU
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * General Public License (GPL) as published by the Free Software
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * Clara, CA 95054 USA or visit http://www.sun.com if you need
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * additional information or have any questions.
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync#endif /* cpu_to_le16 */
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync//#define cpu_to_le16 __cpu_to_le16
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync#define uint64_t long long
#define OPSTATIC
#ifdef RDPUSB_DEBUG
#define LogFlow(a)
#define Log(a)
#define Log2(a)
#define VINF_SUCCESS 0
#define RTFILE int
#define RTCRITSECT void *
if (!(_expr)) \
if (!(_expr)) \
return (_retval); \
return VINF_SUCCESS;
return VINF_SUCCESS;
return VINF_SUCCESS;
return VINF_SUCCESS;
static inline int RTStrToUInt32Ex (const char *pszValue, char **ppszNext, unsigned uBase, uint32_t *pu32)
return VINF_SUCCESS;
if (*ppStream)
return VINF_SUCCESS;
return VERR_NOT_SUPPORTED;
return VINF_SUCCESS;
return VINF_SUCCESS;
return VERR_NOT_SUPPORTED;
psz++;
return (char *)psz;
return VINF_SUCCESS;
return VERR_ACCESS_DENIED;
return VINF_SUCCESS;
#define VRDP_USB_STATUS_SUCCESS 0
#define VRDP_USB_REAP_FLAG_CONTINUED (0)
#define VRDP_USB_CAPS_FLAG_ASYNC (0)
#include "vusb.h"
typedef struct VUSBDEV
char* pszName;
int request_detach;
typedef struct usb_proxy {
void *pv;
int File;
} Backend;
int iActiveCfg;
int cIgnoreSetConfigs;
} *PUSBPROXYDEV;
typedef struct vusb_setup {
#pragma pack()
typedef struct USBPROXYBACK
const char *pszName;
} USBPROXYBACK;