| 
    libcoap 4.3.5-develop-13abce9
    
   | 
 
State handling for asynchronous messages. More...
#include "coap3/coap_libcoap_build.h"
 Include dependency graph for coap_async.c:Go to the source code of this file.
Functions | |
| int | coap_async_is_supported (void) | 
| Check whether ASYNC (separate responses) is available.   | |
| coap_async_t * | coap_register_async (coap_session_t *session, const coap_pdu_t *request, coap_tick_t delay) | 
Allocates a new coap_async_t object and fills its fields according to the given request.   | |
| void | coap_async_set_delay (coap_async_t *async, coap_tick_t delay) | 
Update the delay timeout, so changing when the registered async triggers.   | |
| void | coap_free_async (coap_session_t *session, coap_async_t *async) | 
Releases the memory that was allocated by coap_register_async() for the object async.   | |
| coap_async_t * | coap_find_async (coap_session_t *session, coap_bin_const_t token) | 
Retrieves the object identified by token from the list of asynchronous transactions that are registered with context.   | |
| COAP_API void | coap_async_set_app_data (coap_async_t *async, void *app_data) | 
Set the application data pointer held in async.   | |
| COAP_API void * | coap_async_set_app_data2 (coap_async_t *async, void *app_data, coap_app_data_free_callback_t callback) | 
Stores data with the given async, returning the previously stored value or NULL.   | |
| void * | coap_async_get_app_data (const coap_async_t *async) | 
Gets the application data pointer held in async.   | |
State handling for asynchronous messages.
Definition in file coap_async.c.