libmtp: LIBMTP_raw_device_struct Struct Reference

Data Fields

# LIBMTP_raw_device_struct Struct Reference
[libmtp data structures]

`#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.

## Field Documentation

uint32_t LIBMTP_raw_device_struct::bus_location

Location of the bus, if device available

Examples:
  detect.c.

Referenced by configure_usb_device(), dump_usbinfo(), LIBMTP_Detect_Raw_Devices(), and LIBMTP_Open_Raw_Device().

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().

uint8_t LIBMTP_raw_device_struct::devnum

Device number on the bus, if device available

Examples:
  detect.c.

Referenced by configure_usb_device(), dump_usbinfo(), LIBMTP_Detect_Raw_Devices(), and LIBMTP_Open_Raw_Device().

The documentation for this struct was generated from the following file:

- /usr/ports/pobj/libmtp-1.0.3/libmtp-1.0.3/src/libmtp.h