Owner-style creator contract for standard I/O-oriented streams. More...
#include "stream/borrowers/stream_types.h"
Go to the source code of this file.
Data Structures | |
| struct | stream_io_creator_t |
| Owner-facing creator object for standard I/O-oriented streams. More... | |
Typedefs | |
| typedef enum stream_io_kind_t | stream_io_kind_t |
Kind of standard I/O stream requested from a stream_io_creator_t. | |
| typedef struct stream_io_creator_t | stream_io_creator_t |
| Owner-facing creator object for standard I/O-oriented streams. | |
Enumerations | |
| enum | stream_io_kind_t { STREAM_IO_INPUT = 0 , STREAM_IO_OUTPUT , STREAM_IO_ERR } |
Kind of standard I/O stream requested from a stream_io_creator_t. More... | |
This header exposes a small owner-facing creator object used to build stream_t handles for standard input/output/error workflows.
Definition in file stream_io_creator.h.
| typedef struct stream_io_creator_t stream_io_creator_t |
A stream_io_creator_t packages:
Such an object is typically prepared by the Composition Root and then injected into owner-side runtime code that needs to create standard input/output/error stream_t instances without depending directly on factory wiring details.
| typedef enum stream_io_kind_t stream_io_kind_t |
| enum stream_io_kind_t |
| Enumerator | |
|---|---|
| STREAM_IO_INPUT | Standard input stream. |
| STREAM_IO_OUTPUT | Standard output stream. |
| STREAM_IO_ERR | Standard error stream. |
Definition at line 27 of file stream_io_creator.h.