15#ifndef LEXLEO_STREAM_TYPES_H
16#define LEXLEO_STREAM_TYPES_H
stream_status_t
Public status codes used by the stream port.
@ STREAM_STATUS_NOT_FOUND
@ STREAM_STATUS_ALREADY_EXISTS
@ STREAM_STATUS_NO_BACKEND
Borrower-facing operation table for the stream port.
stream_status_t(* flush)(stream_t *s)
Flush a stream.
size_t(* read)(stream_t *s, void *buf, size_t n, stream_status_t *st)
Read bytes from a stream.
size_t(* write)(stream_t *s, const void *buf, size_t n, stream_status_t *st)
Write bytes to a stream.
Private handle structure for a stream_t.