Kaa client C SDK
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Structures | Typedefs | Enumerations
ext_notification_receiver.h File Reference
#include "gen/kaa_notification_definitions.h"

Go to the source code of this file.

Data Structures

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.
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.

Enumeration Type Documentation

Enumerator
MANDATORY_SUBSCRIPTION 
OPTIONAL_SUBSCRIPTION