libusb vocabulary
Factor handbook > Vocabulary index


Summary
Bindings to libusb

Meta-data
Tags:bindings
Authors:Erik Charlebois
Platforms:unix


Words

Tuple classes
ClassSuperclassSlots
libusb_config_descriptor struct
libusb_control_setup struct
libusb_device_descriptor struct
libusb_endpoint_descriptor struct
libusb_interface struct
libusb_interface_descriptor struct
libusb_iso_packet_descriptor struct
libusb_pollfd struct
libusb_transfer struct


Singleton classes
LIBUSB_CLASS_AUDIO
LIBUSB_CLASS_COMM
LIBUSB_CLASS_DATA
LIBUSB_CLASS_HID
LIBUSB_CLASS_HUB
LIBUSB_CLASS_MASS_STORAGE
LIBUSB_CLASS_PER_INTERFACE
LIBUSB_CLASS_PRINTER
LIBUSB_CLASS_PTP
LIBUSB_CLASS_VENDOR_SPEC
LIBUSB_DT_CONFIG
LIBUSB_DT_DEVICE
LIBUSB_DT_ENDPOINT
LIBUSB_DT_HID
LIBUSB_DT_HUB
LIBUSB_DT_INTERFACE
LIBUSB_DT_PHYSICAL
LIBUSB_DT_REPORT
LIBUSB_DT_STRING
LIBUSB_ENDPOINT_IN
LIBUSB_ENDPOINT_OUT
LIBUSB_ERROR_ACCESS
LIBUSB_ERROR_BUSY
LIBUSB_ERROR_INTERRUPTED
LIBUSB_ERROR_INVALID_PARAM
LIBUSB_ERROR_IO
LIBUSB_ERROR_NOT_FOUND
LIBUSB_ERROR_NOT_SUPPORTED
LIBUSB_ERROR_NO_DEVICE
LIBUSB_ERROR_NO_MEM
LIBUSB_ERROR_OTHER
LIBUSB_ERROR_OVERFLOW
LIBUSB_ERROR_PIPE
LIBUSB_ERROR_TIMEOUT
LIBUSB_ISO_SYNC_TYPE_ADAPTIVE
LIBUSB_ISO_SYNC_TYPE_ASYNC
LIBUSB_ISO_SYNC_TYPE_NONE
LIBUSB_ISO_SYNC_TYPE_SYNC
LIBUSB_ISO_USAGE_TYPE_DATA
LIBUSB_ISO_USAGE_TYPE_FEEDBACK
LIBUSB_ISO_USAGE_TYPE_IMPLICIT
LIBUSB_RECIPIENT_DEVICE
LIBUSB_RECIPIENT_ENDPOINT
LIBUSB_RECIPIENT_INTERFACE
LIBUSB_RECIPIENT_OTHER
LIBUSB_REQUEST_CLEAR_FEATURE
LIBUSB_REQUEST_GET_CONFIGURATION
LIBUSB_REQUEST_GET_DESCRIPTOR
LIBUSB_REQUEST_GET_INTERFACE
LIBUSB_REQUEST_GET_STATUS
LIBUSB_REQUEST_SET_ADDRESS
LIBUSB_REQUEST_SET_CONFIGURATION
LIBUSB_REQUEST_SET_DESCRIPTOR
LIBUSB_REQUEST_SET_FEATURE
LIBUSB_REQUEST_SET_INTERFACE
LIBUSB_REQUEST_SYNCH_FRAME
LIBUSB_REQUEST_TYPE_CLASS
LIBUSB_REQUEST_TYPE_RESERVED
LIBUSB_REQUEST_TYPE_STANDARD
LIBUSB_REQUEST_TYPE_VENDOR
LIBUSB_SUCCESS
LIBUSB_TRANSFER_CANCELLED
LIBUSB_TRANSFER_COMPLETED
LIBUSB_TRANSFER_ERROR
LIBUSB_TRANSFER_FREE_BUFFER
LIBUSB_TRANSFER_FREE_TRANSFER
LIBUSB_TRANSFER_NO_DEVICE
LIBUSB_TRANSFER_OVERFLOW
LIBUSB_TRANSFER_SHORT_NOT_OK
LIBUSB_TRANSFER_STALL
LIBUSB_TRANSFER_TIMED_OUT
LIBUSB_TRANSFER_TYPE_BULK
LIBUSB_TRANSFER_TYPE_CONTROL
LIBUSB_TRANSFER_TYPE_INTERRUPT
LIBUSB_TRANSFER_TYPE_ISOCHRONOUS


Symbol words
libusb_class_code
libusb_context
libusb_descriptor_type
libusb_device
libusb_device_handle
libusb_endpoint_direction
libusb_error
libusb_iso_sync_type
libusb_iso_usage_type
libusb_request_recipient
libusb_request_type
libusb_standard_request
libusb_transfer_flags
libusb_transfer_status
libusb_transfer_type


Ordinary words
WordStack effect
<libusb_class_code>( number -- enum )
<libusb_descriptor_type>( number -- enum )
<libusb_endpoint_direction>( number -- enum )
<libusb_error>( number -- enum )
<libusb_iso_sync_type>( number -- enum )
<libusb_iso_usage_type>( number -- enum )
<libusb_request_recipient>( number -- enum )
<libusb_request_type>( number -- enum )
<libusb_standard_request>( number -- enum )
<libusb_transfer_flags>( number -- enum )
<libusb_transfer_status>( number -- enum )
<libusb_transfer_type>( number -- enum )
LIBUSB_CONTROL_SETUP_SIZE( -- x )
LIBUSB_DT_CONFIG_SIZE( -- value )
LIBUSB_DT_DEVICE_SIZE( -- value )
LIBUSB_DT_ENDPOINT_AUDIO_SIZE( -- value )
LIBUSB_DT_ENDPOINT_SIZE( -- value )
LIBUSB_DT_HUB_NONVAR_SIZE( -- value )
LIBUSB_DT_INTERFACE_SIZE( -- value )
LIBUSB_ENDPOINT_ADDRESS_MASK( -- value )
LIBUSB_ENDPOINT_DIR_MASK( -- value )
LIBUSB_ISO_SYNC_TYPE_MASK( -- value )
LIBUSB_ISO_USAGE_TYPE_MASK( -- value )
LIBUSB_TRANSFER_TYPE_MASK( -- value )
libusb_alloc_transfer( iso_packets -- libusb_transfer* )
libusb_attach_kernel_driver( dev interface -- int )
libusb_bulk_transfer( dev_handle endpoint data length actual_length timeout -- int )
libusb_cancel_transfer( transfer -- int )
libusb_claim_interface( dev iface -- int )
libusb_clear_halt( dev endpoint -- int )
libusb_close( dev_handle -- )
libusb_control_transfer( dev_handle request_type request value index data length timeout -- int )
libusb_control_transfer_get_data( transfer -- data )
libusb_control_transfer_get_setup( transfer -- setup )
libusb_cpu_to_le16( x -- y )
libusb_detach_kernel_driver( dev interface -- int )
libusb_event_handler_active( ctx -- int )
libusb_event_handling_ok( ctx -- int )
libusb_exit( ctx -- )
libusb_fill_bulk_transfer( transfer dev_handle endpoint buffer length callback user_data timeout -- )
libusb_fill_control_setup( buffer bmRequestType bRequest wValue wIndex wLength -- )
libusb_fill_control_transfer( transfer dev_handle buffer callback user_data timeout -- )
libusb_fill_interrupt_transfer( transfer dev_handle endpoint buffer length callback user_data timeout -- )
libusb_fill_iso_transfer( transfer dev_handle endpoint buffer length num_iso_packets callback user_data timeout -- )
libusb_free_config_descriptor( config -- )
libusb_free_device_list( list unref_devices -- )
libusb_free_transfer( transfer -- )
libusb_get_active_config_descriptor( dev config -- int )
libusb_get_bus_number( dev -- uint8_t )
libusb_get_config_descriptor( dev config_index config -- int )
libusb_get_config_descriptor_by_value( dev bConfigurationValue config -- int )
libusb_get_configuration( dev config -- int )
libusb_get_descriptor( dev desc_type desc_index data length -- int )
libusb_get_device( dev_handle -- libusb_device* )
libusb_get_device_address( dev -- uint8_t )
libusb_get_device_descriptor( dev desc -- int )
libusb_get_device_list( ctx list -- ssize_t )
libusb_get_iso_packet_buffer( transfer packet -- data )
libusb_get_iso_packet_buffer_simple( transfer packet -- data )
libusb_get_max_packet_size( dev endpoint -- int )
libusb_get_next_timeout( ctx tv -- int )
libusb_get_pollfds( ctx -- libusb_pollfd** )
libusb_get_string_descriptor( dev desc_index langid data length -- int )
libusb_get_string_descriptor_ascii( dev index data length -- int )
libusb_handle_events( ctx -- int )
libusb_handle_events_locked( ctx tv -- int )
libusb_handle_events_timeout( ctx tv -- int )
libusb_init( ctx -- int )
libusb_interrupt_transfer( dev_handle endpoint data length actual_length timeout -- int )
libusb_kernel_driver_active( dev interface -- int )
libusb_le16_to_cpu( x -- y )
libusb_lock_event_waiters( ctx -- )
libusb_lock_events( ctx -- )
libusb_open( dev handle -- int )
libusb_open_device_with_vid_pid( ctx vendor_id product_id -- libusb_device_handle* )
libusb_pollfd_added_cb( quot -- alien )
libusb_pollfd_removed_cb( quot -- alien )
libusb_ref_device( dev -- libusb_device* )
libusb_release_interface( dev iface -- int )
libusb_reset_device( dev -- int )
libusb_set_configuration( dev configuration -- int )
libusb_set_debug( ctx level -- )
libusb_set_interface_alt_setting( dev interface_number alternate_setting -- int )
libusb_set_iso_packet_lengths( transfer length -- )
libusb_set_pollfd_notifiers( ctx added_cb removed_cb user_data -- )
libusb_submit_transfer( transfer -- int )
libusb_transfer_cb_fn( quot -- alien )
libusb_try_lock_events( ctx -- int )
libusb_unlock_event_waiters( ctx -- )
libusb_unlock_events( ctx -- )
libusb_unref_device( dev -- )
libusb_wait_for_event( ctx tv -- int )


Class predicate words
WordStack effect
LIBUSB_CLASS_AUDIO?( object -- ? )
LIBUSB_CLASS_COMM?( object -- ? )
LIBUSB_CLASS_DATA?( object -- ? )
LIBUSB_CLASS_HID?( object -- ? )
LIBUSB_CLASS_HUB?( object -- ? )
LIBUSB_CLASS_MASS_STORAGE?( object -- ? )
LIBUSB_CLASS_PER_INTERFACE?( object -- ? )
LIBUSB_CLASS_PRINTER?( object -- ? )
LIBUSB_CLASS_PTP?( object -- ? )
LIBUSB_CLASS_VENDOR_SPEC?( object -- ? )
LIBUSB_DT_CONFIG?( object -- ? )
LIBUSB_DT_DEVICE?( object -- ? )
LIBUSB_DT_ENDPOINT?( object -- ? )
LIBUSB_DT_HID?( object -- ? )
LIBUSB_DT_HUB?( object -- ? )
LIBUSB_DT_INTERFACE?( object -- ? )
LIBUSB_DT_PHYSICAL?( object -- ? )
LIBUSB_DT_REPORT?( object -- ? )
LIBUSB_DT_STRING?( object -- ? )
LIBUSB_ENDPOINT_IN?( object -- ? )
LIBUSB_ENDPOINT_OUT?( object -- ? )
LIBUSB_ERROR_ACCESS?( object -- ? )
LIBUSB_ERROR_BUSY?( object -- ? )
LIBUSB_ERROR_INTERRUPTED?( object -- ? )
LIBUSB_ERROR_INVALID_PARAM?( object -- ? )
LIBUSB_ERROR_IO?( object -- ? )
LIBUSB_ERROR_NOT_FOUND?( object -- ? )
LIBUSB_ERROR_NOT_SUPPORTED?( object -- ? )
LIBUSB_ERROR_NO_DEVICE?( object -- ? )
LIBUSB_ERROR_NO_MEM?( object -- ? )
LIBUSB_ERROR_OTHER?( object -- ? )
LIBUSB_ERROR_OVERFLOW?( object -- ? )
LIBUSB_ERROR_PIPE?( object -- ? )
LIBUSB_ERROR_TIMEOUT?( object -- ? )
LIBUSB_ISO_SYNC_TYPE_ADAPTIVE?( object -- ? )
LIBUSB_ISO_SYNC_TYPE_ASYNC?( object -- ? )
LIBUSB_ISO_SYNC_TYPE_NONE?( object -- ? )
LIBUSB_ISO_SYNC_TYPE_SYNC?( object -- ? )
LIBUSB_ISO_USAGE_TYPE_DATA?( object -- ? )
LIBUSB_ISO_USAGE_TYPE_FEEDBACK?( object -- ? )
LIBUSB_ISO_USAGE_TYPE_IMPLICIT?( object -- ? )
LIBUSB_RECIPIENT_DEVICE?( object -- ? )
LIBUSB_RECIPIENT_ENDPOINT?( object -- ? )
LIBUSB_RECIPIENT_INTERFACE?( object -- ? )
LIBUSB_RECIPIENT_OTHER?( object -- ? )
LIBUSB_REQUEST_CLEAR_FEATURE?( object -- ? )
LIBUSB_REQUEST_GET_CONFIGURATION?( object -- ? )
LIBUSB_REQUEST_GET_DESCRIPTOR?( object -- ? )
LIBUSB_REQUEST_GET_INTERFACE?( object -- ? )
LIBUSB_REQUEST_GET_STATUS?( object -- ? )
LIBUSB_REQUEST_SET_ADDRESS?( object -- ? )
LIBUSB_REQUEST_SET_CONFIGURATION?( object -- ? )
LIBUSB_REQUEST_SET_DESCRIPTOR?( object -- ? )
LIBUSB_REQUEST_SET_FEATURE?( object -- ? )
LIBUSB_REQUEST_SET_INTERFACE?( object -- ? )
LIBUSB_REQUEST_SYNCH_FRAME?( object -- ? )
LIBUSB_REQUEST_TYPE_CLASS?( object -- ? )
LIBUSB_REQUEST_TYPE_RESERVED?( object -- ? )
LIBUSB_REQUEST_TYPE_STANDARD?( object -- ? )
LIBUSB_REQUEST_TYPE_VENDOR?( object -- ? )
LIBUSB_SUCCESS?( object -- ? )
LIBUSB_TRANSFER_CANCELLED?( object -- ? )
LIBUSB_TRANSFER_COMPLETED?( object -- ? )
LIBUSB_TRANSFER_ERROR?( object -- ? )
LIBUSB_TRANSFER_FREE_BUFFER?( object -- ? )
LIBUSB_TRANSFER_FREE_TRANSFER?( object -- ? )
LIBUSB_TRANSFER_NO_DEVICE?( object -- ? )
LIBUSB_TRANSFER_OVERFLOW?( object -- ? )
LIBUSB_TRANSFER_SHORT_NOT_OK?( object -- ? )
LIBUSB_TRANSFER_STALL?( object -- ? )
LIBUSB_TRANSFER_TIMED_OUT?( object -- ? )
LIBUSB_TRANSFER_TYPE_BULK?( object -- ? )
LIBUSB_TRANSFER_TYPE_CONTROL?( object -- ? )
LIBUSB_TRANSFER_TYPE_INTERRUPT?( object -- ? )
LIBUSB_TRANSFER_TYPE_ISOCHRONOUS?( object -- ? )
libusb_config_descriptor?( object -- ? )
libusb_control_setup?( object -- ? )
libusb_device_descriptor?( object -- ? )
libusb_endpoint_descriptor?( object -- ? )
libusb_interface?( object -- ? )
libusb_interface_descriptor?( object -- ? )
libusb_iso_packet_descriptor?( object -- ? )
libusb_pollfd?( object -- ? )
libusb_transfer?( object -- ? )


Files