Paho MQTT C Client Library
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
 
Persistence_open popen
 
Persistence_close pclose
 
Persistence_put pput
 
Persistence_get pget
 
Persistence_remove premove
 
Persistence_keys pkeys
 
Persistence_clear pclear
 
Persistence_containskey pcontainskey
 

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.

Field Documentation

◆ context

void* context

A pointer to any data required to initialize the persistent store.

◆ popen

A function pointer to an implementation of Persistence_open().

◆ pclose

A function pointer to an implementation of Persistence_close().

◆ pput

A function pointer to an implementation of Persistence_put().

◆ pget

A function pointer to an implementation of Persistence_get().

◆ premove

A function pointer to an implementation of Persistence_remove().

◆ pkeys

A function pointer to an implementation of Persistence_keys().

◆ pclear

A function pointer to an implementation of Persistence_clear().

◆ pcontainskey

A function pointer to an implementation of Persistence_containskey().


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