24 #ifndef EXT_LOG_UPLOAD_STRATEGY_H_
25 #define EXT_LOG_UPLOAD_STRATEGY_H_
Trigger log upload.
Definition: ext_log_upload_strategy.h:40
General Kaa endpoint context.
Definition: kaa_context.h:50
Definition: ext_log_upload_strategy.h:49
kaa_error_t
Definition: kaa_error.h:31
kaa_error_t ext_log_upload_strategy_on_timeout(void *context)
Handles timeout of a log delivery.
void ext_log_upload_strategy_destroy(void *context)
Destroys the instance of the log upload strategy.
Definition: ext_log_upload_strategy.h:50
Definition: ext_log_upload_strategy.h:47
logging_delivery_error_code_t
Log delivery error codes.
Definition: ext_log_upload_strategy.h:46
Nothing to do yet.
Definition: ext_log_upload_strategy.h:39
ext_log_upload_decision_t
Log upload decisions.
Definition: ext_log_upload_strategy.h:38
External log storage interface used by Kaa data collection subsystem to temporarily store the logs be...
size_t ext_log_upload_strategy_get_timeout(void *context)
The maximum time to wait a log delivery response.
kaa_error_t ext_log_upload_strategy_create(struct kaa_context_s *context, void **strategy_p, uint8_t type)
Definition: ext_log_upload_strategy.h:48
size_t ext_log_upload_strategy_get_max_parallel_uploads(void *context)
Max amount of log batches allowed to be uploaded parallel.
kaa_error_t ext_log_upload_strategy_on_failure(void *context, logging_delivery_error_code_t error_code)
Handles failure of a log delivery.
ext_log_upload_decision_t ext_log_upload_strategy_decide(void *context, const void *log_storage_context)
Makes a decision whether to upload logs or cleanup the storage.