Synopsis
typedef struct {
  CTL_STATUS_t (*__read)(CTL_STREAM_t , void *, size_t);
  CTL_STATUS_t (*__write)(CTL_STREAM_t , const void *, size_t);
  CTL_STATUS_t (*__flush)(CTL_STREAM_t);
  CTL_STATUS_t (*__close)(CTL_STREAM_t);
} CTL_STREAM_DRIVER_t;
Description

CTL_STREAM_DRIVER_t defines the methods that implement I/O to a stream.

Structure
__read
Read from stream.
__write
Write to stream.
__flush
Flush any buffered data associated with the stream to the underlying medium.
__close
Close the stream.