MIO standard input/output initializers. More...
#include <airframe/mio.h>
Go to the source code of this file.
Functions | |
gboolean | mio_source_init_stdin (MIOSource *source, const char *spec, MIOType vsp_type, void *cfg, GError **err) |
Initialize a standard input source. More... | |
gboolean | mio_sink_init_stdout (MIOSink *sink, const char *spec, MIOType vsp_type, void *cfg, GError **err) |
Initialize a standard output sink. More... | |
MIO standard input/output initializers.
Most applications should use the interface in mio_config.h to access these initializers.
gboolean mio_sink_init_stdout | ( | MIOSink * | sink, |
const char * | spec, | ||
MIOType | vsp_type, | ||
void * | cfg, | ||
GError ** | err | ||
) |
Initialize a standard output sink.
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. |
gboolean mio_source_init_stdin | ( | MIOSource * | source, |
const char * | spec, | ||
MIOType | vsp_type, | ||
void * | cfg, | ||
GError ** | err | ||
) |
Initialize a standard input source.
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. |