Adapter dispatch table bound to a stream_t instance. More...
#include <stream_adapters_api.h>
Data Fields | |
| stream_read_fn_t | read |
| stream_write_fn_t | write |
| stream_flush_fn_t | flush |
| stream_close_fn_t | close |
This table defines the concrete backend operations used by the generic stream port for read, write, flush, and close.
A valid vtable must provide all operations.
Definition at line 122 of file stream_adapters_api.h.
| stream_close_fn_t stream_vtbl_t::close |
Backend close operation. Must not be NULL.
Definition at line 133 of file stream_adapters_api.h.
| stream_flush_fn_t stream_vtbl_t::flush |
Backend flush operation. Must not be NULL.
Definition at line 130 of file stream_adapters_api.h.
| stream_read_fn_t stream_vtbl_t::read |
Backend read operation. Must not be NULL.
Definition at line 124 of file stream_adapters_api.h.
| stream_write_fn_t stream_vtbl_t::write |
Backend write operation. Must not be NULL.
Definition at line 127 of file stream_adapters_api.h.