Unify Framework Lib 1.6.0
attribute_timeouts.h File Reference
#include "sl_status.h"
#include "attribute_store.h"
#include "clock.h"

Go to the source code of this file.

Typedefs

typedef void(* attribute_timeout_callback_t) (attribute_store_node_t)
 Function prototype callback functions. More...
 

Functions

sl_status_t attribute_timeout_set_callback (attribute_store_node_t node, clock_time_t duration, attribute_timeout_callback_t callback_function)
 Sets a callback to be called after a duration for an attribute. More...
 
bool attribute_timeout_is_callback_active (attribute_store_node_t node, attribute_timeout_callback_t callback_function)
 Checks if a node/callback pair is active. More...
 
sl_status_t attribute_timeout_cancel_callback (attribute_store_node_t node, attribute_timeout_callback_t callback_function)
 Cancels a callback to be called after a duration for an attribute. More...
 
sl_status_t attribute_timeouts_init ()
 Initializes the Unify attribute timeouts component. More...
 
int attribute_timeouts_teardown ()
 Teardown the Unify attribute timeouts component. More...