7#ifndef ZEPHYR_LLEXT_BUF_LOADER_H
8#define ZEPHYR_LLEXT_BUF_LOADER_H
39int llext_buf_read(
struct llext_loader *ldr,
void *buf,
size_t len);
41void *llext_buf_peek(
struct llext_loader *ldr,
size_t pos);
50#define LLEXT_BUF_LOADER(_buf, _buf_len) \
55 .read = llext_buf_read, \
56 .seek = llext_buf_seek, \
57 .peek = llext_buf_peek, \
LLEXT ELF loader context types.
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
Implementation of llext_loader that reads from a memory buffer.
Definition buf_loader.h:27
struct llext_loader loader
Extension loader.
Definition buf_loader.h:29
Linkable loadable extension loader context.
Definition loader.h:42