custom(3)

πŸ“¦ version 1.1.23, in arch rolling

πŸ’– NAME πŸ’–

okay bestie, welcome to custom(3) β€” the Library Functions Manual entry for libmtp, and it is literally the Custom operations API. 🫢 No cap, that’s the whole name vibe.

✨ SYNOPSIS ✨

🧚 Functions 🧚

one function, one icon, one very specific signature:

int LIBMTP_Custom_Operation (LIBMTP_mtpdevice_t *, uint16_t, int,...)

πŸ¦‹ Detailed Description πŸ¦‹

this section is here, and the function tea is right below. πŸ’…

🌸 Function Documentation 🌸

πŸ”₯ LIBMTP_Custom_Operation πŸ”₯

int LIBMTP_Custom_Operation (LIBMTP_mtpdevice_t * device, uint16_t code, int
       n_param,  ...)

this one issues a custom (e.g. vendor specific) operation (without data phase). periodt. πŸŽ€

πŸ“ Parameters πŸ“

  • device β€” a pointer to the device to send custom operation to. 🫢
  • code β€” operation code to send. πŸ’Œ
  • n_param β€” number of parameters passed. πŸ”’
  • ... β€” uint32_t operation specific parameters. ✨

References: LIBMTP_mtpdevice_struct::params. 🧚

πŸŽ€ Author πŸŽ€

Generated automatically by Doxygen for libmtp from the source code. πŸ€–πŸ’– no cap, the docs wrote themselves (well, Doxygen did).


and that’s the whole page, bestie β€” brought to you by libmtp, Version 1.1.23, for custom(3). 🫢✨

πŸ“¦ where this page comes from