LexLeo 0.0.0-dev+f8e5087-dirty
Technical documentation
Loading...
Searching...
No Matches
fs_stream CR API

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...
 

Detailed Description

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:

Note
This API is part of the CR surface. Runtime modules should not include it directly.