diff options
author | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-05-09 00:47:30 +0100 |
---|---|---|
committer | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-05-09 00:47:30 +0100 |
commit | 3d928d8dfe2d9af8b3d3ad2eb1d4b878d68704c4 (patch) | |
tree | afd9aac45d87ca26cd83e5b176069195250a3d7f /cusb.h | |
parent | d070ed533fe8afdc672c6f04875f2c73f478c196 (diff) | |
parent | 260123716172d33f44bdc0e4e5422554d139215c (diff) | |
download | libphidget21-3d928d8dfe2d9af8b3d3ad2eb1d4b878d68704c4.tar.gz |
Merge tag 'upstream/2.1.8.20120507'
Upstream version 2.1.8.20120507
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); |