LIBMTP_folder_struct(3)

πŸ“¦ version 1.1.23, in arch rolling

πŸ’– 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_id
  • uint32_t parent_id
  • uint32_t storage_id
  • char * name
  • LIBMTP_folder_t * sibling
  • LIBMTP_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