The fs_stream module provides a file-backed adapter for the stream port in the foundation layer.
It provides:
stream_t handles from fs_stream-specific creation arguments,stream factory.The module is designed to connect:
stream port,Sub-APIs:
The fs_stream module is a foundation adapter module for the stream port. It implements the stream backend contract on top of OSAL file operations and exposes Composition Root entry points for direct creation and factory registration.
Typical responsibilities:
fs_stream_args_t creation arguments into OSAL file opening,stream_t handles through the stream port,stream_adapter_desc_t descriptors for registration into the stream factory.The Composition Root can create a file-backed stream directly through:
The Composition Root can register the adapter into a stream factory through:
The adapter relies on injected dependencies grouped in fs_stream_env_t, typically including:
stream port environment.This adapter is part of the surrounding stream family and targets the stream port.