Functions | |
void | LIBMTP_Init (void) |
int | LIBMTP_Get_Supported_Devices_List (LIBMTP_device_entry_t **const, int *const) |
|
Get a list of the supported USB devices. The developers depend on users of this library to constantly add in to the list of supported devices. What we need is the device name, USB Vendor ID (VID) and USB Product ID (PID). put this into a bug ticket at the project homepage, please. The VID/PID is used to let e.g. udev lift the device to console userspace access when it's plugged in.
|
|
Initialize the library. You are only supposed to call this one, before using the library for the first time in a program. Never re-initialize libmtp! The only thing this does at the moment is to initialise the filetype mapping table. |