Searched refs:hb_context (Results 1 – 1 of 1) sorted by relevance
145 struct hawkbit_context hb_context; member671 static int hawkbit_parse_deployment(struct hawkbit_context *hb_context, struct hawkbit_dep_res *res, in hawkbit_parse_deployment() argument698 if (hex2bin(artifact->hashes.sha256, SHA256_HASH_SIZE << 1, hb_context->dl.file_hash, in hawkbit_parse_deployment()699 sizeof(hb_context->dl.file_hash)) != SHA256_HASH_SIZE) { in hawkbit_parse_deployment()703 hb_context->dl.file_size = artifact->size; in hawkbit_parse_deployment()705 if (hb_context->dl.file_size > SLOT1_SIZE) { in hawkbit_parse_deployment()706 LOG_ERR("Artifact file size too big (got %d, max is %d)", hb_context->dl.file_size, in hawkbit_parse_deployment()874 struct hawkbit_context *hb_context) in response_json_cb() argument880 if (hb_context->dl.http_content_size == 0) { in response_json_cb()881 hb_context->dl.http_content_size = rsp->content_length; in response_json_cb()[all …]