bindings-libusb-1.4.5.0: Low level bindings to libusb.

Safe HaskellSafe-Inferred

Bindings.Libusb.PollingAndTiming

Description

Documentation

data C'timeval Source

Constructors

C'timeval 

type C'libusb_pollfd_added_cb = FunPtr (CInt -> CShort -> Ptr () -> IO ())Source

type C'libusb_pollfd_removed_cb = FunPtr (CInt -> Ptr () -> IO ())Source

mk'libusb_pollfd_added_cb :: (CInt -> CShort -> Ptr () -> IO ()) -> IO C'libusb_pollfd_added_cbSource

mK'libusb_pollfd_added_cb :: C'libusb_pollfd_added_cb -> CInt -> CShort -> Ptr () -> IO ()Source

p'libusb_wait_for_event :: FunPtr (Ptr C'libusb_context -> Ptr C'timeval -> IO CInt)Source

p'libusb_handle_events_completed :: FunPtr (Ptr C'libusb_context -> Ptr CInt -> IO CInt)Source

p'libusb_handle_events_timeout_completed :: FunPtr (Ptr C'libusb_context -> Ptr C'timeval -> Ptr CInt -> IO CInt)Source