34#ifndef ATTRIBUTE_TIMEOUTS_H
35#define ATTRIBUTE_TIMEOUTS_H
uint32_t clock_time_t
Definition: contiki-conf.h:31
datastore_attribute_id_t attribute_store_node_t
Handle to identify attribute store nodes.
Definition: attribute_store.h:101
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.
int attribute_timeouts_teardown()
Teardown the Unify attribute timeouts component.
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.
sl_status_t attribute_timeouts_init()
Initializes the Unify attribute timeouts component.
void(* attribute_timeout_callback_t)(attribute_store_node_t)
Function prototype callback functions.
Definition: attribute_timeouts.h:47
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.
uint32_t sl_status_t
Definition: sl_status.h:139