LexLeo 0.0.0-dev+f8e5087-dirty
Technical documentation
Loading...
Searching...
No Matches
stream_buffer_creator.h File Reference

Owner-style creator contract for buffer-backed streams. More...

Include dependency graph for stream_buffer_creator.h:

Go to the source code of this file.

Data Structures

struct  stream_buffer_creator_t
 Owner-facing creator object for buffer-backed streams. More...
 

Typedefs

typedef struct stream_buffer_creator_t stream_buffer_creator_t
 Owner-facing creator object for buffer-backed streams.
 

Detailed Description

This header exposes a small owner-facing creator object used to build stream_t handles for buffer-oriented workflows.

Definition in file stream_buffer_creator.h.

Typedef Documentation

◆ stream_buffer_creator_t

A stream_buffer_creator_t packages:

  • a creation callback,
  • opaque user data bound to that callback.

Such an object is typically prepared by the Composition Root and then injected into owner-side runtime code that needs to create buffer-backed stream_t instances without depending directly on factory wiring details.