147 const char** out_sub);
Annotation-attribute framework macros for ra8-firmware.
#define RA8_PRIV
Module-private helper: shared across TUs but only inside one library.
#define RA8_TEST_HELPER
Mark a symbol as externally-linked but only callable from tests.
Error Code Definitions for ra8-firmware.
ra8_err_codes_t ra8_err_t
Canonical error-return type used by every ra8-firmware API.
ra8_io pluggable filesystem-format registry (probe + capabilities).
ra8_io virtual filesystem – mount many volumes, address them by name.
@ k_ra8_io_vfs_name_max
Mount name length incl NUL.
ra8_err_t priv_ra8_io_vfs_resolve(const char *path, vfs_slot_t **out_slot, uint8_t *out_index, const char **out_sub)
Resolve "name:sub" to a mount slot and sub-path.
ra8_err_t ra8_io_vfs_init_slot_test(vfs_slot_t *slot)
Test-only entry point for internal_vfs_init_slot().
ra8_err_t priv_ra8_io_vfs_split(const char *path, char *out_name, const char **out_sub)
Split "name:sub" into a bounded name and sub-path pointer.
bool priv_ra8_io_vfs_streq(const char *a, const char *b)
Compare two mount names within the fixed bound.
vfs_slot_t * priv_ra8_io_vfs_find(const char *name, uint8_t *out_index)
Find an occupied mount slot by name and optionally report its index.
One registered filesystem format.
One fixed named-mount slot.
void * mount_ctx
Format-private mounted context.
const ra8_io_fsfmt_t * format
Selected format descriptor.
bool in_use
Slot is occupied.
bool native
Context is a native ra8_fs mount.
bool owned
VFS must invoke format unmount.
char name[(uint32_t) k_ra8_io_vfs_name_max]
NUL-terminated mount name.