LexLeo 0.0.0-dev+f8e5087-dirty
Technical documentation
Loading...
Searching...
No Matches
fs_stream_env_t Struct Reference

Injected dependencies for the fs_stream adapter. More...

#include <fs_stream_types.h>

Collaboration diagram for fs_stream_env_t:

Data Fields

osal_file_env_t file_env
 Borrowed OSAL file environment.
 
const osal_file_ops_tfile_ops
 Borrowed OSAL file operations table.
 
stream_env_t port_env
 Borrowed stream port environment.
 

Detailed Description

This structure aggregates the borrowed runtime dependencies provided by the Composition Root and required by fs_stream construction services.

Definition at line 57 of file fs_stream_types.h.

Field Documentation

◆ file_env

osal_file_env_t fs_stream_env_t::file_env

This environment is used for file-backend allocation and related OSAL file runtime support.

Definition at line 65 of file fs_stream_types.h.

◆ file_ops

const osal_file_ops_t* fs_stream_env_t::file_ops

This table provides the OSAL file operations used by the adapter backend.

Definition at line 74 of file fs_stream_types.h.

◆ port_env

stream_env_t fs_stream_env_t::port_env

This environment is forwarded to stream_create() when constructing the public stream_t handle.

Definition at line 83 of file fs_stream_types.h.