4#ifndef PROTOCORE_MNT_RAM_H
5#define PROTOCORE_MNT_RAM_H
48 void (*format)(uint8_t *);
The mount: which store is behind the filesystem, and the vtable it answers through.
void protocore_mnt_ram_format(uint8_t *work)
Empty the pool and close every handle.
const protocore_mnt_backend * protocore_mnt_ram_backend(uint8_t *work)
Publish the vtable, for the caller to mount.
PROTOCORE_NS MntRamNs MntRam PROTOCORE_UNUSED
Module namespace.
#define PROTOCORE_NS_LAYOUT(T,...)
Pin every dispatch slot of a table that is nothing but function pointers.
#define PROTOCORE_NS
Storage for a dispatch table. The const is load bearing.
Dispatch table. Addressed by offset, so the layout is asserted below.
const protocore_mnt_backend *(* backend)(uint8_t *)
A storage backend. Each open call returns a small handle (>= 0) or -1.
#define PROTOCORE_BEGIN_DECLS
Give a header's declarations C linkage, so their symbol names carry no parameter types.
#define PROTOCORE_END_DECLS