24 #ifndef EXT_LOG_UPLOAD_STRATEGY_H_
25 #define EXT_LOG_UPLOAD_STRATEGY_H_
27 #include "../platform/ext_log_storage.h"
size_t ext_log_upload_strategy_get_bucket_size(void *context)
Retrieves the maximum size of a report pack that will be delivered in a single request to the Operati...
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.
logging_delivery_error_code_t
ext_log_upload_decision_t
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_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.