Scroll to navigation

LIBMTP_raw_device_struct(3) libmtp LIBMTP_raw_device_struct(3)

NAME

libmtp - LIBMTP_raw_device_struct

SYNOPSIS

#include <libmtp.h>

Data Fields


LIBMTP_device_entry_t device_entry
 
uint32_t bus_location
 
uint8_t devnum
 

Detailed Description

A data structure to hold a raw MTP device connected to the bus.
Examples:
detect.c, and folders.c.

Field Documentation

uint32_t LIBMTP_raw_device_struct::bus_location

Location of the bus, if device available
Examples:
detect.c.
Referenced by dump_usbinfo(), LIBMTP_Detect_Raw_Devices(), and LIBMTP_Open_Raw_Device_Uncached().

LIBMTP_device_entry_t LIBMTP_raw_device_struct::device_entry

The device entry for this raw device
Examples:
detect.c.
Referenced by configure_usb_device(), dump_usbinfo(), LIBMTP_Detect_Raw_Devices(), and LIBMTP_Open_Raw_Device_Uncached().

uint8_t LIBMTP_raw_device_struct::devnum

Device number on the bus, if device available
Examples:
detect.c.
Referenced by dump_usbinfo(), LIBMTP_Detect_Raw_Devices(), and LIBMTP_Open_Raw_Device_Uncached().

Author

Generated automatically by Doxygen for libmtp from the source code.
Thu Sep 11 2014 Version 1.1.8