Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mtp_internals(3) [debian man page]

The libmtp internals API.(3)					      libmtp					      The libmtp internals API.(3)

NAME
libmtp - The libmtp internals API. 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 *constnumdevs) 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 successfull 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. References LIBMTP_Set_Debug(). void LIBMTP_Set_Debug (intlevel) 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. Version 1.1.3 Sun Feb 17 2013 The libmtp internals API.(3)

Check Out this Related Man Page

LIBMTP_allowed_values_struct(3) 				      libmtp					   LIBMTP_allowed_values_struct(3)

NAME
libmtp - LIBMTP_allowed_values_struct SYNOPSIS
#include <libmtp.h> Data Fields uint8_t u8max uint8_t u8min uint8_t u8step uint8_t * u8vals int8_t i8max int8_t i8min int8_t i8step int8_t * i8vals uint16_t u16max uint16_t u16min uint16_t u16step uint16_t * u16vals int16_t i16max int16_t i16min int16_t i16step int16_t * i16vals uint32_t u32max uint32_t u32min uint32_t u32step uint32_t * u32vals int32_t i32max int32_t i32min int32_t i32step int32_t * i32vals uint64_t u64max uint64_t u64min uint64_t u64step uint64_t * u64vals int64_t i64max int64_t i64min int64_t i64step int64_t * i64vals uint16_t num_entries LIBMTP_datatype_t datatype int is_range Detailed Description A data structure to hold allowed ranges of values Field Documentation LIBMTP_datatype_t LIBMTP_allowed_values_struct::datatype The datatype specifying which of the above is used Referenced by LIBMTP_destroy_allowed_values_t(), and LIBMTP_Get_Allowed_Property_Values(). int LIBMTP_allowed_values_struct::is_range Non zero for range, 0 for enum Referenced by LIBMTP_destroy_allowed_values_t(), and LIBMTP_Get_Allowed_Property_Values(). uint16_t LIBMTP_allowed_values_struct::num_entries Number of entries in the vals array Referenced by LIBMTP_Get_Allowed_Property_Values(). Author Generated automatically by Doxygen for libmtp from the source code. Version 1.1.3 Sun Feb 17 2013 LIBMTP_allowed_values_struct(3)
Man Page