7#ifndef SUIT_DFU_FETCH_SOURCE_H__
8#define SUIT_DFU_FETCH_SOURCE_H__
26#if defined(CONFIG_SUIT_STREAM_FETCH_SOURCE_MGR) || defined(__DOXYGEN__)
int(* suit_dfu_fetch_source_request_fn)(const uint8_t *uri, size_t uri_length, uint32_t session_id)
Fetch source callback function.
Definition suit_dfu_fetch_source.h:81
int suit_dfu_fetch_source_register(suit_dfu_fetch_source_request_fn request_fn)
Register a fetch source.
int suit_dfu_fetch_source_write_fetched_data(uint32_t session_id, const uint8_t *data, size_t len)
Passes the fetched data to the SUIT processor.
int suit_dfu_fetch_source_seek(uint32_t session_id, size_t offset)
Move the internal write pointer inside the SUIT processor to the given offset.