MTP_LIBMTP_RAW_DEVICE_STRUCT(3)
π NAME π
libmtp β bestie, this is the manual page for LIBMTP_raw_device_struct, a lil' struct in libmtp that's part of the libmtp library functions manual. That's literally it, that's the name section, no cap. β¨
π SYNOPSIS π
#include <libmtp.h>
πΈ Data Fields πΈ
LIBMTP_device_entry_t device_entryuint32_t bus_locationuint8_t devnum
π¦ Detailed Description π¦
Okay so picture this: a data structure whose whole entire job is holding a raw MTP device that's connected to the bus. That's the vibe. It's giving "little container, big responsibility" and honestly? Iconic. π
π Field Documentation π
β uint32_t LIBMTP_raw_device_struct::bus_location
Where the bus is at β location of the bus, if device available. Not gonna lie, that "if device available" is doing a lot of heavy lifting there. π«Ά
This one gets referenced by dump_usbinfo(), LIBMTP_Detect_Raw_Devices(), LIBMTP_Detect_Raw_Devices(), and LIBMTP_Open_Raw_Device_Uncached(). (Yes, LIBMTP_Detect_Raw_Devices() really does show up twice, and no, I'm not editing that, it's the facts fr fr. π)
β LIBMTP_device_entry_t LIBMTP_raw_device_struct::device_entry
The device entry for this raw device. So like, the main character field of the whole struct, lowkey. π
This one gets referenced by configure_usb_device(), dump_usbinfo(), LIBMTP_Detect_Raw_Devices(), LIBMTP_Detect_Raw_Devices(), and LIBMTP_Open_Raw_Device_Uncached(). Again with the double LIBMTP_Detect_Raw_Devices() β we keep it, we respect it, periodt. β¨
β uint8_t LIBMTP_raw_device_struct::devnum
The device number on the bus β if device available, because conditional realness. π
Referenced by dump_usbinfo(), LIBMTP_Detect_Raw_Devices(), LIBMTP_Detect_Raw_Devices(), and LIBMTP_Open_Raw_Device_Uncached(). Yep, twins again. That's just how it is, bestie. π
π Author π
Generated automatically by Doxygen for libmtp from the source code. Not me, not you, not a human β a robot did this, and honestly it ate. π€β¨
Ok that's the whole page!! libmtp, Version 1.1.23, and this absolute queen of a struct manual for LIBMTP_raw_device_struct(3) β love her, mwah, bye bestie!! πππ¦πΈπ
π«Άπ₯ππβπ
π¦ where this page comes from
- ubuntu stonking: libmtp-doc 1.1.23-1 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms