Composition Root (CR) API for the stdio_stream adapter.
More...
Files | |
| file | stdio_stream_cr_api.h |
Composition Root API for wiring the stdio_stream adapter into the stream factory. | |
| file | stdio_stream_types.h |
Types used by the stdio_stream Composition Root API. | |
Data Structures | |
| struct | stdio_stream_cfg_t |
Configuration type for the stdio_stream adapter. More... | |
| struct | stdio_stream_env_t |
Injected dependencies for the stdio_stream adapter. More... | |
| struct | stdio_stream_args_t |
Creation arguments for the stdio_stream adapter. More... | |
This API is intended to be used by the Composition Root only. It wires the stdio_stream adapter into the stream port factory via a stream_adapter_desc_t.
Design notes:
stream port factory through a descriptor built by stdio_stream_create_desc.stdin, stdout, and stderr) through the stream port.