Man page - mtp_internals(3)
Packages contains this manual
- mtp_structar(3)
- mtp_albums(3)
- mtp_internals(3)
- mtp_folders(3)
- mtp_tagptp_chdk_videosettings(3)
- mtp_ptp_chdk_script_msg(3)
- mtp_mtpz_rsa_struct(3)
- mtp_playlists(3)
- mtp_text_struct(3)
- mtp_objects(3)
- mtp_filemap_struct(3)
- mtp_mtpz.c(3)
- mtp_ptp_event_cb_data(3)
- mtp_libusb-glue.h(3)
- mtp_files(3)
- mtp_tracks(3)
- mtp_lv_data_header(3)
- mtp_custom(3)
- mtp_device-flags.h(3)
- mtp_basic(3)
- mtp_unicode.c(3)
- mtp_libmtp.h(3)
- mtp_ptp_opcode_trans_t(3)
- mtp_mtpdevice_list_struct(3)
- mtp_util.c(3)
- mtp_libmtp.c(3)
- mtp_unicode.h(3)
- mtp_lv_framebuffer_desc(3)
- mtp_propertymap_struct(3)
- mtp_music-players.h(3)
- mtp_ptp_chdk_rc_chunk(3)
- mtp_event_cb_data_struct(3)
- mtp_mtpz.h(3)
- mtp_types(3)
apt-get install libmtp-doc
Manual
internals
NAMESYNOPSIS
Functions
Detailed Description
Function Documentation
int LIBMTP_Get_Supported_Devices_List (LIBMTP_device_entry_t **constdevices, int *const numdevs)
void LIBMTP_Init (void)
void LIBMTP_Set_Debug (int level)
Author
NAME
libmtp - internals
SYNOPSIS
Functions
void
LIBMTP_Set_Debug
(int)
void
LIBMTP_Init
(void)
int
LIBMTP_Get_Supported_Devices_List
(
LIBMTP_device_entry_t
**const, int *const)
Detailed Description
Function Documentation
int LIBMTP_Get_Supported_Devices_List (LIBMTP_device_entry_t **constdevices, int *const numdevs)
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.
Parameters
devices
a pointer to a
pointer that will hold a device list after the call to this
function, if it was successful.
numdevs
a pointer to an integer that will hold the
number of devices in the device list if the call was
successful.
Returns
0 if the list was successful retrieved, any other value means failure.
void LIBMTP_Init (void)
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, as well as load MTPZ data if necessary.
References LIBMTP_Set_Debug() .
void LIBMTP_Set_Debug (int level)
Set the debug level.
By default, the debug level is set to β0β (disable).
References LIBMTP_debug .
Referenced by LIBMTP_Init() .
Author
Generated automatically by Doxygen for libmtp from the source code.