client-c  0.9.0
ext_notification_receiver.h File Reference
+ Include dependency graph for ext_notification_receiver.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kaa_notification_listener_t
 
struct  kaa_topic_t
 
struct  kaa_topic_listener_t
 

Typedefs

typedef void(* on_notification_callback )(void *context, uint64_t *topic_id, kaa_notification_t *notification)
 Pointer to the function that should be called when notification received. More...
 
typedef void(* on_topic_list_callback )(void *context, kaa_list_t *topics)
 Pointer to the function that should be called when notification received. More...
 

Enumerations

enum  kaa_topic_subscription_type_t { MANDATORY_SUBSCRIPTION = 0x00, OPTIONAL_SUBSCRIPTION = 0x01 }
 

Typedef Documentation

typedef void(* on_notification_callback)(void *context, uint64_t *topic_id, kaa_notification_t *notification)

Pointer to the function that should be called when notification received.

Parameters
[in]contextpointer to any user's data.
[in]topic_idpointer to notification's topic id.
[in]notificationpointer to received notification.

Definition at line 39 of file ext_notification_receiver.h.

typedef void(* on_topic_list_callback)(void *context, kaa_list_t *topics)

Pointer to the function that should be called when notification received.

Parameters
[in]contextpointer to any user's data.
[in]topicspointer to topic list.

Definition at line 60 of file ext_notification_receiver.h.

Enumeration Type Documentation

Enumerator
MANDATORY_SUBSCRIPTION 
OPTIONAL_SUBSCRIPTION 

Definition at line 26 of file ext_notification_receiver.h.