7#ifndef ZEPHYR_LLEXT_BUF_LOADER_H
8#define ZEPHYR_LLEXT_BUF_LOADER_H
38int llext_buf_read(
struct llext_loader *ldr,
void *buf,
size_t len);
40void *llext_buf_peek(
struct llext_loader *ldr,
size_t pos);
49#define LLEXT_BUF_LOADER(_buf, _buf_len) \
52 .read = llext_buf_read, \
53 .seek = llext_buf_seek, \
54 .peek = llext_buf_peek, \
__UINT8_TYPE__ uint8_t
Definition: stdint.h:88
An extension loader from a provided buffer containing an ELF.
Definition: buf_loader.h:26
struct llext_loader loader
Extension loader.
Definition: buf_loader.h:28
Linkable loadable extension loader context.
Definition: loader.h:29