Paho MQTT C Client Library
 All Data Structures Files Functions Variables Typedefs Macros Pages
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

void* context

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

A function pointer to an implementation of Persistence_open().

A function pointer to an implementation of Persistence_close().

A function pointer to an implementation of Persistence_put().

A function pointer to an implementation of Persistence_get().

A function pointer to an implementation of Persistence_remove().

A function pointer to an implementation of Persistence_keys().

A function pointer to an implementation of Persistence_clear().

A function pointer to an implementation of Persistence_containskey().


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