Bag of streams.
More...
Go to the source code of this file.
|
typedef struct StStreamBag | StStreamBag |
| A bag of streams.
|
|
◆ st_streambag_count()
Get the number of streams in a bag.
- Parameters
-
- Returns
- The number of streams.
◆ st_streambag_create()
Create a new empty bag of streams.
- Returns
- An empty bag of streams.
◆ st_streambag_destroy()
Destroy a bag of streams.
- Parameters
-
◆ st_streambag_ins()
Insert a stream into a bag.
- Parameters
-
[in,out] | bag | The bag. |
[in] | stream | The stream. |
◆ st_streambag_rem()
Remove a stream from a bag.
- Parameters
-
[in,out] | bag | The bag. |
[in] | stream | The stream. |
◆ st_streambag_vprint()
void st_streambag_vprint |
( |
StStreamBag * |
bag, |
|
|
const char * |
format, |
|
|
va_list |
vlist |
|
) |
| |
Print to all streams from a bag.
- Parameters
-
[in,out] | bag | The bag. |
[in] | format | The format string. |
[in] | vlist | The list of arguments. |