LIBMTP_dev...try_struct(3)

πŸ’– NAME πŸ’–

libmtp β€” ok bestie, this is the page for LIBMTP_device_entry_struct, the lil' data structure that holds MTP device entries πŸŽ€


✨ 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. That's it, that's the whole vibe β€” it's a little info card for each device, no cap πŸ’…


πŸ‘‘ Field Documentation πŸ‘‘

πŸ’œ uint32_t LIBMTP_device_entry_struct::device_flags

Bugs, device specifics etc β€” basically the chaotic little notes scribbled in the margins of a device's whole personality 😭

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. (Not a human, not a bestie, just a very diligent robot πŸ₯²)


Sending you off with the receipts, bestie: this is libmtp, Version 1.1.23, and it's the manpage for LIBMTP_dev...try_struct(3) πŸ’– Mwah, go forth and enumerate those devices 😘🌸
πŸ“¦ where this page comes from