libusb.3 (09c817ba36db7c3a4ff5e25ac55816ca181a403d) | libusb.3 (390065b18e0ee636279b106ff06f0a1463589ab1) |
---|---|
1.\" 2.\" Copyright (c) 2009 Sylvestre Gallon 3.\" 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: --- 280 unchanged lines hidden (view full) --- 289.Fn libusb_get_config_descriptor_by_value "libusb_device *dev" "uint8 bConfigurationValue" "libusb_config_descriptor **config" 290Get a USB configuration descriptor with a specific bConfigurationValue. This is 291a non-blocking function which does not send request through the device. Returns 0 292on success, LIBUSB_ERROR_NOT_FOUND if the configuration does not exist and another 293LIBUSB_ERROR code on failure. 294. 295.Pp 296.Ft void | 1.\" 2.\" Copyright (c) 2009 Sylvestre Gallon 3.\" 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: --- 280 unchanged lines hidden (view full) --- 289.Fn libusb_get_config_descriptor_by_value "libusb_device *dev" "uint8 bConfigurationValue" "libusb_config_descriptor **config" 290Get a USB configuration descriptor with a specific bConfigurationValue. This is 291a non-blocking function which does not send request through the device. Returns 0 292on success, LIBUSB_ERROR_NOT_FOUND if the configuration does not exist and another 293LIBUSB_ERROR code on failure. 294. 295.Pp 296.Ft void |
297.Fn libusb_free_config_descriptor "libusb_config_descriptor *config`" | 297.Fn libusb_free_config_descriptor "libusb_config_descriptor *config" |
298Free a configuration descriptor. 299. 300.Pp 301.Ft int 302.Fn libusb_get_string_descriptor_ascii "libusb_device_handle *devh" "uint8_t desc_idx" "unsigned char *data" "int length" 303Retrieve a string descriptor in C style ascii. Returns a number of byte on success 304and a LIBUSB_ERROR code on failure. 305. --- 198 unchanged lines hidden --- | 298Free a configuration descriptor. 299. 300.Pp 301.Ft int 302.Fn libusb_get_string_descriptor_ascii "libusb_device_handle *devh" "uint8_t desc_idx" "unsigned char *data" "int length" 303Retrieve a string descriptor in C style ascii. Returns a number of byte on success 304and a LIBUSB_ERROR code on failure. 305. --- 198 unchanged lines hidden --- |