libusb.h (0f2c706643ff211ce1e1eb0cfbc3c05bc67f2311) | libusb.h (5b40d9601c72fbb04f32437d529dbf51252dc31e) |
---|---|
1/* $FreeBSD$ */ 2/*- 3 * Copyright (c) 2009 Sylvestre Gallon. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 418 unchanged lines hidden (view full) --- 427int libusb_reset_device(libusb_device_handle * devh); 428int libusb_check_connected(libusb_device_handle * devh); 429int libusb_kernel_driver_active(libusb_device_handle * devh, int interface); 430int libusb_get_driver_np(libusb_device_handle * devh, int interface, char *name, int namelen); 431int libusb_get_driver(libusb_device_handle * devh, int interface, char *name, int namelen); 432int libusb_detach_kernel_driver_np(libusb_device_handle * devh, int interface); 433int libusb_detach_kernel_driver(libusb_device_handle * devh, int interface); 434int libusb_attach_kernel_driver(libusb_device_handle * devh, int interface); | 1/* $FreeBSD$ */ 2/*- 3 * Copyright (c) 2009 Sylvestre Gallon. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 418 unchanged lines hidden (view full) --- 427int libusb_reset_device(libusb_device_handle * devh); 428int libusb_check_connected(libusb_device_handle * devh); 429int libusb_kernel_driver_active(libusb_device_handle * devh, int interface); 430int libusb_get_driver_np(libusb_device_handle * devh, int interface, char *name, int namelen); 431int libusb_get_driver(libusb_device_handle * devh, int interface, char *name, int namelen); 432int libusb_detach_kernel_driver_np(libusb_device_handle * devh, int interface); 433int libusb_detach_kernel_driver(libusb_device_handle * devh, int interface); 434int libusb_attach_kernel_driver(libusb_device_handle * devh, int interface); |
435int libusb_set_auto_detach_kernel_driver(libusb_device_handle *dev, int enable); |
|
435int libusb_set_interface_alt_setting(libusb_device_handle * devh, int interface_number, int alternate_setting); 436 437/* USB Descriptors */ 438 439int libusb_get_device_descriptor(libusb_device * dev, struct libusb_device_descriptor *desc); 440int libusb_get_active_config_descriptor(libusb_device * dev, struct libusb_config_descriptor **config); 441int libusb_get_config_descriptor(libusb_device * dev, uint8_t config_index, struct libusb_config_descriptor **config); 442int libusb_get_config_descriptor_by_value(libusb_device * dev, uint8_t bConfigurationValue, struct libusb_config_descriptor **config); --- 65 unchanged lines hidden --- | 436int libusb_set_interface_alt_setting(libusb_device_handle * devh, int interface_number, int alternate_setting); 437 438/* USB Descriptors */ 439 440int libusb_get_device_descriptor(libusb_device * dev, struct libusb_device_descriptor *desc); 441int libusb_get_active_config_descriptor(libusb_device * dev, struct libusb_config_descriptor **config); 442int libusb_get_config_descriptor(libusb_device * dev, uint8_t config_index, struct libusb_config_descriptor **config); 443int libusb_get_config_descriptor_by_value(libusb_device * dev, uint8_t bConfigurationValue, struct libusb_config_descriptor **config); --- 65 unchanged lines hidden --- |