#ifndef _IOKIT_IOUSBUSERCLIENT_H
#define _IOKIT_IOUSBUSERCLIENT_H
enum {
kUSBDeviceUserClientOpen,
kUSBDeviceUserClientClose,
kUSBDeviceUserClientSetConfig,
kUSBDeviceUserClientGetConfig,
kUSBDeviceUserClientGetConfigDescriptor,
kUSBDeviceUserClientGetFrameNumber,
kUSBDeviceUserClientDeviceRequestOut,
kUSBDeviceUserClientDeviceRequestIn,
kUSBDeviceUserClientDeviceRequestOutOOL,
kUSBDeviceUserClientDeviceRequestInOOL,
kUSBDeviceUserClientCreateInterfaceIterator,
kUSBDeviceUserClientResetDevice,
kUSBDeviceUserClientSuspend,
kUSBDeviceUserClientAbortPipeZero,
kUSBDeviceUserClientReEnumerateDevice,
kUSBDeviceUserClientGetMicroFrameNumber,
kNumUSBDeviceMethods
};
enum {
kUSBDeviceUserClientSetAsyncPort,
kUSBDeviceUserClientDeviceAsyncRequestOut,
kUSBDeviceUserClientDeviceAsyncRequestIn,
kNumUSBDeviceAsyncMethods
};
enum {
kUSBInterfaceUserClientOpen,
kUSBInterfaceUserClientClose,
kUSBInterfaceUserClientGetDevice,
kUSBInterfaceUserClientSetAlternateInterface,
kUSBInterfaceUserClientGetFrameNumber,
kUSBInterfaceUserClientGetPipeProperties,
kUSBInterfaceUserClientReadPipe,
kUSBInterfaceUserClientReadPipeOOL,
kUSBInterfaceUserClientWritePipe,
kUSBInterfaceUserClientWritePipeOOL,
kUSBInterfaceUserClientGetPipeStatus,
kUSBInterfaceUserClientAbortPipe,
kUSBInterfaceUserClientResetPipe,
kUSBInterfaceUserClientSetPipeIdle,
kUSBInterfaceUserClientSetPipeActive,
kUSBInterfaceUserClientClearPipeStall,
kUSBInterfaceUserClientControlRequestOut,
kUSBInterfaceUserClientControlRequestIn,
kUSBInterfaceUserClientControlRequestOutOOL,
kUSBInterfaceUserClientControlRequestInOOL,
kUSBInterfaceUserClientSetPipePolicy,
kUSBInterfaceUserClientGetBandwidthAvailable,
kUSBInterfaceUserClientGetEndpointProperties,
kUSBInterfaceUserClientLowLatencyPrepareBuffer,
kUSBInterfaceUserClientLowLatencyReleaseBuffer,
kUSBInterfaceUserClientGetMicroFrameNumber,
kUSBInterfaceUserClientGetFrameListTime,
kNumUSBInterfaceMethods
};
enum {
kUSBInterfaceUserClientSetAsyncPort,
kUSBInterfaceUserClientControlAsyncRequestOut,
kUSBInterfaceUserClientControlAsyncRequestIn,
kUSBInterfaceUserClientAsyncReadPipe,
kUSBInterfaceUserClientAsyncWritePipe,
kUSBInterfaceUserClientReadIsochPipe,
kUSBInterfaceUserClientWriteIsochPipe,
kUSBInterfaceUserClientLowLatencyReadIsochPipe,
kUSBInterfaceUserClientLowLatencyWriteIsochPipe,
kNumUSBInterfaceAsyncMethods
};
#if KERNEL
#include <IOKit/IOService.h>
class IOUSBUserClientInit : public IOService
{
OSDeclareDefaultStructors(IOUSBUserClientInit);
public:
virtual bool start(IOService * provider) ;
virtual bool MergeDictionaryIntoProvider(IOService * provider, OSDictionary * mergeDict);
virtual bool MergeDictionaryIntoDictionary(OSDictionary * sourceDictionary, OSDictionary * targetDictionary);
};
#endif // KERNEL
#endif