LIBMTP_folder_struct(3)
π NAME π
LIBMTP_folder_struct β the main-character MTP folder struct, bestie. This page is from the Library Functions Manual, and it's lowkey iconic.
β¨ SYNOPSIS β¨
#include <libmtp.h>
πΈ Data Fields πΈ
Okay so this struct is literally a folder node with these fields, in this exact order:
uint32_t folder_iduint32_t parent_iduint32_t storage_idchar * nameLIBMTP_folder_t * siblingLIBMTP_folder_t * child
π¦ Detailed Description π¦
MTP Folder structure. That's the whole detailed description, and honestly? It ate. π
π Field Documentation π
π§Έ LIBMTP_folder_t* LIBMTP_folder_struct::child
This is the child folder pointer. It points at a child folder, or it's NULL if there are no children.
Examples: folders.c.
Referenced by: LIBMTP_destroy_folder_t(), LIBMTP_Find_Folder(), and LIBMTP_Get_Folder_List_For_Storage().
π uint32_t LIBMTP_folder_struct::folder_id
A unique folder ID, fr fr.
Examples: folders.c.
Referenced by: LIBMTP_Find_Folder(), LIBMTP_Get_Folder_List_For_Storage(), and LIBMTP_Set_Folder_Name().
π·οΈ char* LIBMTP_folder_struct::name
The name of the folder. Yep, that's the vibe.
Examples: folders.c.
Referenced by: LIBMTP_destroy_folder_t(), LIBMTP_Get_Folder_List_For_Storage(), and LIBMTP_Set_Folder_Name().
π uint32_t LIBMTP_folder_struct::parent_id
The ID of the parent folder.
Referenced by: LIBMTP_Get_Folder_List_For_Storage().
π― LIBMTP_folder_t* LIBMTP_folder_struct::sibling
The next folder at the same level, or NULL if there are no more. Group-chat sibling energy.
Examples: folders.c.
Referenced by: LIBMTP_destroy_folder_t(), LIBMTP_Find_Folder(), and LIBMTP_Get_Folder_List_For_Storage().
πΎ uint32_t LIBMTP_folder_struct::storage_id
The ID of the storage holding this folder.
Referenced by: LIBMTP_Get_Folder_List_For_Storage().
π Author π
Generated automatically by Doxygen for libmtp from the source code.
Okay that's the whole page, bestie π«Ά β footer tea: libmtp, Version 1.1.23, page tag LIBMTP_folder_struct(3). No date is listed in that footer, so no invented date, periodt. π
β¨
π¦ where this page comes from
- arch rolling: libmtp 1.1.23-1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms