VirtualBox

source: vbox/trunk/src/VBox/HostDrivers/VBoxUSB/darwin/VBoxUSBInterface.h@ 57004

Last change on this file since 57004 was 56293, checked in by vboxsync, 9 years ago

HostDrivers: Updated (C) year.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.5 KB
Line 
1/** $Id: VBoxUSBInterface.h 56293 2015-06-09 14:23:56Z vboxsync $ */
2/** @file
3 * VirtualBox USB Driver User<->Kernel Interface.
4 */
5
6/*
7 * Copyright (C) 2007-2015 Oracle Corporation
8 *
9 * This file is part of VirtualBox Open Source Edition (OSE), as
10 * available from http://www.virtualbox.org. This file is free software;
11 * you can redistribute it and/or modify it under the terms of the GNU
12 * General Public License (GPL) as published by the Free Software
13 * Foundation, in version 2 as it comes in the "COPYING" file of the
14 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16 */
17
18#ifndef ___VBoxUSBInterface_h
19#define ___VBoxUSBInterface_h
20
21#include <VBox/usbfilter.h>
22
23/**
24 * org_virtualbox_VBoxUSBClient method indexes.
25 */
26typedef enum VBOXUSBMETHOD
27{
28 /** org_virtualbox_VBoxUSBClient::addFilter */
29 VBOXUSBMETHOD_ADD_FILTER = 0,
30 /** org_virtualbox_VBoxUSBClient::removeFilter */
31 VBOXUSBMETHOD_REMOVE_FILTER,
32 /** End/max. */
33 VBOXUSBMETHOD_END
34} VBOXUSBMETHOD;
35
36/**
37 * Output from a VBOXUSBMETHOD_ADD_FILTER call.
38 */
39typedef struct VBOXUSBADDFILTEROUT
40{
41 /** The ID. */
42 uintptr_t uId;
43 /** The return code. */
44 int rc;
45} VBOXUSBADDFILTEROUT;
46/** Pointer to a VBOXUSBADDFILTEROUT. */
47typedef VBOXUSBADDFILTEROUT *PVBOXUSBADDFILTEROUT;
48
49/** Cookie used to fend off some unwanted clients to the IOService. */
50#define VBOXUSB_DARWIN_IOSERVICE_COOKIE UINT32_C(0x62735556) /* 'VUsb' */
51
52#endif
53
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette