diff options
Diffstat (limited to 'cusb.h')
-rw-r--r-- | cusb.h | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -13,13 +13,18 @@ void CUSBCleanup(); int CUSBSetupNotifications(); int CUSBRefreshLabelString(CPhidgetHandle phid); #if defined(_LINUX) && !defined(_ANDROID) -int CUSBGetDeviceCapabilities(CPhidgetHandle phid, struct usb_device *dev, - struct usb_dev_handle *udev); +void CUSBUninit(); #else int CUSBGetDeviceCapabilities(CPhidgetHandle phid, HANDLE DeviceHandle); #endif #endif +#ifdef _IPHONE +int CPhidgetManager_setupNotifications(CFRunLoopRef runloop); +int CPhidgetManager_teardownNotifications(); +int reenumerateDevice(CPhidgetHandle phid); +#endif + PHIDGET21_API int CCONV CUSBReadPacket(CPhidgetHandle phidA, unsigned char *buffer); PHIDGET21_API int CCONV CUSBSendPacket(CPhidgetHandle phidA, unsigned char *buffer); |