Kaa client C SDK
|
External log delivery listener interfaces. More...
Go to the source code of this file.
Data Structures | |
struct | kaa_log_bucket_info_t |
Log bucket information structure. More... | |
struct | kaa_log_delivery_listener_t |
Listeners aggreate. More... | |
Macros | |
#define | KAA_LOG_EMPTY_LISTENERS ((kaa_log_delivery_listener_t){NULL, NULL, NULL, NULL}) |
Special macro that can be used to disable event handling. More... | |
Typedefs | |
typedef void(* | kaa_log_event_fn )(void *context, const kaa_log_bucket_info_t *bucket) |
Event handler type. More... | |
External log delivery listener interfaces.
Listener callbacks could be used to notify about log-releated events: success, fail or timeout.
#define KAA_LOG_EMPTY_LISTENERS ((kaa_log_delivery_listener_t){NULL, NULL, NULL, NULL}) |
Special macro that can be used to disable event handling.
typedef void(* kaa_log_event_fn)(void *context, const kaa_log_bucket_info_t *bucket) |
Event handler type.
Bucket information can be used to retrieve a amount of logs that are pending to upload.
[in,out] | context | User-definied context. |
[in] | bucket | Log bucket for which event was triggered. |