---
name: "mtp_LIBMTP_device_entry_struct"
section: "3"
platform: "linux"
package: "libmtp-doc"
version: "1.1.22-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/mtp_LIBMTP_device_entry_struct"
---

# mtp\_LIBMTP\_device\_entry\_struct(3)

## NAME

libmtp -

## SYNOPSIS

`#include <libmtp.h>`

### Data Fields

char \* **vendor**\
 uint16\_t **vendor\_id**\
 char \* **product**\
 uint16\_t **product\_id**\
 uint32\_t **device\_flags**\

## Detailed Description

A data structure to hold MTP device entries.

## Field Documentation

### uint32\_t LIBMTP\_device\_entry\_struct::device\_flags

Bugs, device specifics etc

Referenced by **dump\_usbinfo()**, **LIBMTP\_Detect\_Raw\_Devices()**, **LIBMTP\_Detect\_Raw\_Devices()**, and **LIBMTP\_Open\_Raw\_Device\_Uncached()**.

### char\* LIBMTP\_device\_entry\_struct::product

The product name of this device

Referenced by **dump\_usbinfo()**, **LIBMTP\_Detect\_Raw\_Devices()**, and **LIBMTP\_Detect\_Raw\_Devices()**.

### uint16\_t LIBMTP\_device\_entry\_struct::product\_id

Product ID for this device

Referenced by **configure\_usb\_device()**, **dump\_usbinfo()**, **LIBMTP\_Detect\_Raw\_Devices()**, and **LIBMTP\_Detect\_Raw\_Devices()**.

### char\* LIBMTP\_device\_entry\_struct::vendor

The vendor of this device

Referenced by **dump\_usbinfo()**, **LIBMTP\_Detect\_Raw\_Devices()**, and **LIBMTP\_Detect\_Raw\_Devices()**.

### uint16\_t LIBMTP\_device\_entry\_struct::vendor\_id

Vendor ID for this device

Referenced by **configure\_usb\_device()**, **dump\_usbinfo()**, **LIBMTP\_Detect\_Raw\_Devices()**, and **LIBMTP\_Detect\_Raw\_Devices()**.

## Author

Generated automatically by Doxygen for libmtp from the source code.
