CTL_STREAM_t ctl_stream_alloc(CTL_STREAM_CB_t *cb);

ctl_stream_alloc allocates a new stream and associates it with the control block cb. The signature member in cb is a client-provided value that it uses to identify the type of stream when a stream is passed to stream-specific driver functions.

Return Value

ctl_stream_alloc returns the newly allocated stream handle.