MQTT C Client Libraries Internals: MQTTClient_persistence Struct Reference

| MQTT C Client Libraries Internals

Data Fields
MQTTClient_persistence Struct Reference

A structure containing the function pointers to a persistence implementation and the context or state that will be shared across all the persistence functions. More...

`#include <MQTTClientPersistence.h>`

## Data Fields
void * | context
| A pointer to any data required to initialize the persistent store.
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().

## Detailed Description

A structure containing the function pointers to a persistence implementation and the context or state that will be shared across all the persistence functions.

The documentation for this struct was generated from the following file:

- MQTTClientPersistence.h