Composition Root (CR) API for the fs_stream adapter.
More...
Files | |
| file | fs_stream_cr_api.h |
Composition Root API for wiring the fs_stream adapter into the stream factory. | |
| file | fs_stream_types.h |
Types used by the fs_stream Composition Root API. | |
Data Structures | |
| struct | fs_stream_cfg_t |
Configuration type for the fs_stream adapter. More... | |
| struct | fs_stream_env_t |
Injected dependencies for the fs_stream adapter. More... | |
| struct | fs_stream_args_t |
| Arguments provided when creating a file-backed stream. More... | |
This API is intended to be used by the Composition Root only. It wires the fs_stream adapter (file-backed stream) into the stream port factory via a stream_adapter_desc_t.
Design notes:
stream port factory through a descriptor built by fs_stream_create_desc.