Synopsis
typedef struct {
  CTL_STREAM_t handle;
  unsigned long signature;
  const CTL_STREAM_DRIVER_t *d;
  CTL_STREAM_CB_t *__next;
} CTL_STREAM_CB_t;
Description

CTL_STREAM_CB_t defines the base control block for a CTL stream.

Structure
handle
The stream handle allocated by ctl_stream_alloc.
signature
A unique pattern that differentiates types of stream. For instance, a TCP socket stream has a different signature from a file stream, and both of which are different from a UART stream.
d
The methods to read and write the stream.
__next
A private member maintained by CTL that points to the next stream in the list of all streams.
See Also

ctl_stream_alloc.