MQTT C Client Libraries Internals
 All Data Structures Files Functions Variables Typedefs Macros Pages
Data Fields
MQTTAsync_responseOptions Struct Reference

Data Fields

char struct_id [4]
 The eyecatcher for this structure. More...
 
int struct_version
 The version number of this structure. More...
 
MQTTAsync_onSuccess * onSuccess
 A pointer to a callback function to be called if the API call successfully completes. More...
 
MQTTAsync_onFailure * onFailure
 A pointer to a callback function to be called if the API call fails. More...
 
void * context
 A pointer to any application-specific context. More...
 
MQTTAsync_token token
 

Field Documentation

void* MQTTAsync_responseOptions::context

A pointer to any application-specific context.

The the context pointer is passed to success or failure callback functions to provide access to the context information in the callback.

MQTTAsync_onFailure* MQTTAsync_responseOptions::onFailure

A pointer to a callback function to be called if the API call fails.

Can be set to NULL, in which case no indication of unsuccessful completion will be received.

MQTTAsync_onSuccess* MQTTAsync_responseOptions::onSuccess

A pointer to a callback function to be called if the API call successfully completes.

Can be set to NULL, in which case no indication of successful completion will be received.

char MQTTAsync_responseOptions::struct_id[4]

The eyecatcher for this structure.

Must be MQTR

int MQTTAsync_responseOptions::struct_version

The version number of this structure.

Must be 0


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