VirtualBox

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

Last change on this file since 40956 was 31898, checked in by vboxsync, 14 years ago

OSE header fixes

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.3 KB
Line 
1/** $Id: VBoxUSBInterface.h 31898 2010-08-24 09:28:43Z vboxsync $ */
2/** @file
3 * VirtualBox USB Driver User<->Kernel Interface.
4 */
5
6/*
7 * Copyright (C) 2007 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
50#endif
51
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