15#ifndef LEXLEO_FS_STREAM_TYPES_H
16#define LEXLEO_FS_STREAM_TYPES_H
20#include "osal/file/osal_file_ops.h"
Public environment type for the stream port.
Arguments provided when creating a file-backed stream.
bool autoclose
Whether the OSAL file must be closed when the stream is destroyed.
const char * path
UTF-8 path of the target file.
uint32_t flags
OSAL file open flags.
Configuration type for the fs_stream adapter.
int reserved
Reserved configuration field.
Injected dependencies for the fs_stream adapter.
osal_file_env_t file_env
Borrowed OSAL file environment.
stream_env_t port_env
Borrowed stream port environment.
const osal_file_ops_t * file_ops
Borrowed OSAL file operations table.
Runtime environment for the stream port.