14#ifndef ATTRIBUTE_STORE_CALLBACKS_H
15#define ATTRIBUTE_STORE_CALLBACKS_H
uint32_t attribute_store_type_t
Definition: attribute_store.h:50
attribute_store_change_t
Attribute Store type to indicate the modification type that triggered a callback.
Definition: attribute_store.h:112
attribute_store_node_value_state_t
This is the value state of a value.
Definition: attribute_store.h:121
datastore_attribute_id_t attribute_store_node_t
Handle to identify attribute store nodes.
Definition: attribute_store.h:101
sl_status_t attribute_store_callbacks_init(void)
Reset resources allocated for the attribute_store_callback module.
void attribute_store_invoke_delete_callbacks(attribute_store_node_t deleted_node)
Invoke all delete callback functions.
int attribute_store_callbacks_teardown(void)
Frees resources allocated for the attribute_store_callback module.
void attribute_store_invoke_type_callbacks(attribute_store_node_t updated_node, attribute_store_type_t type, attribute_store_change_t change)
Invoke all callback functions associated to an attribute id.
void attribute_store_invoke_generic_callbacks(attribute_changed_event_t *change_event)
Invoke all generic callback functions.
void attribute_store_invoke_value_callbacks(attribute_store_node_t updated_node, attribute_store_type_t type, attribute_store_node_value_state_t value_state, attribute_store_change_t change)
Invoke all callback functions associated to an attribute id / value state combination.
void attribute_store_invoke_touch_callbacks(attribute_store_node_t touched_node)
Invokes all types of touch callbacks.
void attribute_store_invoke_callbacks(attribute_store_node_t updated_node, attribute_store_type_t type, attribute_store_node_value_state_t value_state, attribute_store_change_t change)
Invokes all 3 types of callback functions.
void attribute_store_invoke_touch_generic_callbacks(attribute_store_node_t touched_node)
Invokes all generic touch callbacks.
uint32_t sl_status_t
Definition: sl_status.h:139
structure that contains information about the current state of a given node in the attribute store.
Definition: attribute_store.h:147