17 #ifndef KAA_KAA_NOTIFICATION_H_
18 #define KAA_KAA_NOTIFICATION_H_
34 #ifndef KAA_NOTIFICATION_MANAGER_T
35 # define KAA_NOTIFICATION_MANAGER_T
86 , uint64_t *topic_id, uint32_t *listener_id);
kaa_error_t kaa_add_notification_listener(kaa_notification_manager_t *self, kaa_notification_listener_t *listener, uint32_t *listener_id)
Adds a mandatory notification listener to receive notifications on mandatory topics.
kaa_error_t kaa_remove_notification_listener(kaa_notification_manager_t *self, uint32_t *listener_id)
Removes the mandatory notification listener.
kaa_error_t kaa_unsubscribe_from_topics(kaa_notification_manager_t *self, uint64_t *topic_ids, size_t size, bool force_sync)
Unsubscribes from the topics.
kaa_error_t kaa_add_topic_list_listener(kaa_notification_manager_t *self, kaa_topic_listener_t *listener, uint32_t *topic_listener_id)
Adds a topic list listener.
kaa_error_t kaa_subscribe_to_topics(kaa_notification_manager_t *self, uint64_t *topic_ids, size_t size, bool force_sync)
Subscribes to the topics.
kaa_error_t
Definition: kaa_error.h:31
struct kaa_list_t kaa_list_t
Definition: kaa_list.h:30
kaa_error_t kaa_subscribe_to_topic(kaa_notification_manager_t *self, uint64_t *topic_id, bool force_sync)
Subscribes to the topic.
Definition: ext_notification_receiver.h:62
kaa_error_t kaa_unsubscribe_from_topic(kaa_notification_manager_t *self, uint64_t *topic_id, bool force_sync)
Unsubscribes from the topic.
kaa_error_t kaa_sync_topic_subscriptions(kaa_notification_manager_t *self)
Sends the sync request to the server.
Definition: ext_notification_receiver.h:41
kaa_error_t kaa_get_topics(kaa_notification_manager_t *self, kaa_list_t **topics)
Retrieves the topic list.
struct kaa_notification_manager_t kaa_notification_manager_t
Kaa notification manager structure.
Definition: kaa_notification_manager.h:39
kaa_error_t kaa_calculate_topic_listener_id(const kaa_topic_listener_t *listener, uint32_t *listener_id)
Calculates the topic listener id to manage this topic listener.
kaa_error_t kaa_remove_optional_notification_listener(kaa_notification_manager_t *self, uint64_t *topic_id, uint32_t *listener_id)
Removes the optional notification listener.
kaa_error_t kaa_calculate_notification_listener_id(const kaa_notification_listener_t *listener, uint32_t *listener_id)
Calculates the notification listener id to manage this notification listener.
kaa_error_t kaa_remove_topic_list_listener(kaa_notification_manager_t *self, uint32_t *topic_listener_id)
Removes the topic list listener.
kaa_error_t kaa_add_optional_notification_listener(kaa_notification_manager_t *self, kaa_notification_listener_t *listener, uint64_t *topic_id, uint32_t *listener_id)
Adds an optional notification listener to receive notifications on optional topics.