mio_stdio.h File Reference
MIO standard input/output initializers.
More...
#include <airframe/mio.h>
Go to the source code of this file.
Detailed Description
MIO standard input/output initializers.
Most applications should use the interface in mio_config.h to access these initializers.
Function Documentation
gboolean mio_sink_init_stdout |
( |
MIOSink * |
sink, |
|
|
const char * |
spec, |
|
|
MIOType |
vsp_type, |
|
|
void * |
cfg, |
|
|
GError ** |
err |
|
) |
|
|
|
Initialize a standard output sink.
- Parameters:
-
| sink | pointer to MIOSink to initialize. This MIOSink will be overwritten. |
| spec | input specifier to initialize MIOSink with. Only "-" is acceptable for standard output sinks. |
| vsp_type | requested sink pointer type, or MIO_T_ANY for default. |
| cfg | pointer to configuration context. This source uses no configuration context; pass NULL. |
| err | An error description pointer. |
- Returns:
- TRUE if the MIOSink was successfully initialized.
|
gboolean mio_source_init_stdin |
( |
MIOSource * |
source, |
|
|
const char * |
spec, |
|
|
MIOType |
vsp_type, |
|
|
void * |
cfg, |
|
|
GError ** |
err |
|
) |
|
|
|
Initialize a standard input source.
- Parameters:
-
| source | pointer to MIOSource to initialize. This MIOSource will be overwritten. |
| spec | input specifier to initialize MIOSource with. Only "-" is acceptable for standard input sources. |
| vsp_type | requested source pointer type, or MIO_T_ANY for default. |
| cfg | pointer to configuration context. This source uses no configuration context; pass NULL. |
| err | An error description pointer. |
- Returns:
- TRUE if the MIOSource was successfully initialized.
|