15#ifndef LEXLEO_DYNAMIC_BUFFER_STREAM_CR_API_H
16#define LEXLEO_DYNAMIC_BUFFER_STREAM_CR_API_H
stream_status_t dynamic_buffer_stream_create_desc(stream_adapter_desc_t *out, stream_key_t key, const dynamic_buffer_stream_cfg_t *cfg, const dynamic_buffer_stream_env_t *env, const osal_mem_ops_t *mem)
Build a stream adapter descriptor for the dynamic_buffer_stream adapter.
stream_status_t dynamic_buffer_stream_create_stream(stream_t **out, const dynamic_buffer_stream_cfg_t *cfg, const dynamic_buffer_stream_env_t *env)
Create a dynamic_buffer_stream instance directly.
dynamic_buffer_stream_cfg_t dynamic_buffer_stream_default_cfg(void)
Return the default configuration for the dynamic_buffer_stream adapter.
dynamic_buffer_stream_env_t dynamic_buffer_stream_default_env(const osal_mem_ops_t *mem, const stream_env_t *port_env)
Return the default injected environment for the dynamic_buffer_stream adapter.
stream_status_t dynamic_buffer_stream_ctor(const void *ud, const void *args, stream_t **out)
Factory-compatible constructor callback for the dynamic_buffer_stream adapter.
Types used by the dynamic_buffer_stream Composition Root API.
Adapter-side API for constructing and binding stream_t objects.
Adapter installation contracts for the stream port.
Public key type used to identify stream adapters.
const char * stream_key_t
Public identifier type for a registered stream adapter.
Borrower-visible public types for the stream port.
stream_status_t
Public status codes used by the stream port.
Configuration type for the dynamic_buffer_stream adapter.
Injected dependencies for the dynamic_buffer_stream adapter.
Public descriptor used to register a concrete stream adapter.
Runtime environment for the stream port.
Private handle structure for a stream_t.