1 | /** @file
|
---|
2 | * USBLib - Library for wrapping up the VBoxUSB functionality, Darwin flavor.
|
---|
3 | * (DEV,HDrv,Main)
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2007 Oracle Corporation
|
---|
8 | *
|
---|
9 | * Oracle Corporation confidential
|
---|
10 | * All rights reserved
|
---|
11 | */
|
---|
12 |
|
---|
13 | #ifndef ___VBox_usblib_darwin_h
|
---|
14 | #define ___VBox_usblib_darwin_h
|
---|
15 |
|
---|
16 | #include <VBox/cdefs.h>
|
---|
17 | #include <VBox/usbfilter.h>
|
---|
18 |
|
---|
19 | RT_C_DECLS_BEGIN
|
---|
20 | /** @defgroup grp_USBLib_darwin Darwin Specifics
|
---|
21 | * @addtogroup grp_USBLib
|
---|
22 | * @{ */
|
---|
23 |
|
---|
24 | /** @name VBoxUSB specific device properties.
|
---|
25 | * VBoxUSB makes use of the OWNER property for communicating between the probe and
|
---|
26 | * start stage.
|
---|
27 | * USBProxyServiceDarwin makes use of all of them to correctly determin the state
|
---|
28 | * of the device.
|
---|
29 | * @{ */
|
---|
30 | /** Contains the pid of the current client. If 0, the kernel is the current client. */
|
---|
31 | #define VBOXUSB_CLIENT_KEY "VBoxUSB-Client"
|
---|
32 | /** Contains the pid of the filter owner (i.e. the VBoxSVC pid). */
|
---|
33 | #define VBOXUSB_OWNER_KEY "VBoxUSB-Owner"
|
---|
34 | /** Contains the ID of the matching filter. */
|
---|
35 | #define VBOXUSB_FILTER_KEY "VBoxUSB-Filter"
|
---|
36 | /** @} */
|
---|
37 |
|
---|
38 | /** @} */
|
---|
39 | RT_C_DECLS_END
|
---|
40 |
|
---|
41 | #endif
|
---|