MQTTClient_persistence(3)

πŸ’… MQTTClient_persistence(3) β€” like, the manual page bestie

okay so real talk, this one lives in the Library Functions Manual section (that's the 3 in MQTTClient_persistence(3), iykyk) πŸ’–


✨ NAME ✨

MQTTClient_persistence β€” a struct holding the function pointers for a persistence implementation, plus the context / state that gets shared across all the persistence functions 🫢


🌸 SYNOPSIS 🌸

#include <MQTTClientPersistence.h>

πŸŽ€ Data Fields

void * context
Persistence_open popen
Persistence_close pclose
Persistence_put pput
Persistence_get pget
Persistence_remove premove
Persistence_keys pkeys
Persistence_clear pclear
Persistence_containskey pcontainskey

πŸ¦‹ DESCRIPTION πŸ¦‹

It's giving... a structure containing the function pointers to a persistence implementation, and the context or state that will be shared across all the persistence functions. periodt. ✨

No cap, that's the whole vibe of this struct: it's the little bundle that says "here's how you save stuff, here's how you load it back, and here's the state we all pass around." πŸ‘‘


πŸ’– Field Documentation πŸ’–

void* context

A pointer to any data required to initialize the persistent store. literally whatever your implementation needs, bestie. 🌈

Persistence_open popen

A function pointer to an implementation of Persistence_open(). πŸ”₯

Persistence_close pclose

A function pointer to an implementation of Persistence_close(). πŸ”₯

Persistence_put pput

A function pointer to an implementation of Persistence_put(). πŸ”₯

Persistence_get pget

A function pointer to an implementation of Persistence_get(). πŸ”₯

Persistence_remove premove

A function pointer to an implementation of Persistence_remove(). πŸ”₯

Persistence_keys pkeys

A function pointer to an implementation of Persistence_keys(). πŸ”₯

Persistence_clear pclear

A function pointer to an implementation of Persistence_clear(). πŸ”₯

Persistence_containskey pcontainskey

A function pointer to an implementation of Persistence_containskey(). πŸ”₯


πŸ’€ not a single option flag in sight β€” this one's a struct, not a command, so no flags to memorize. you're welcome, bestie.

πŸ‘‘ Author

Generated automatically by Doxygen for the Paho MQTT C Client Library, straight from the source code. 🧚


and that's the whole page, bestie β€” it was made by Doxygen for the Paho MQTT C Client Library, and the doc page itself is dated Tue Jun 2 2026 00:00:00, filed under MQTTClient_persistence(3) in the Paho MQTT C Client Library set. slay πŸ’…βœ¨

πŸ“¦ where this page comes from