mio_sink_file.h File Reference
MIO file sink initializers. More...
#include <airframe/mio.h>
Go to the source code of this file.
Data Structures | |
struct | _MIOSinkFileConfig |
File sink configuration context. More... | |
Typedefs | |
typedef _MIOSinkFileConfig | MIOSinkFileConfig |
File sink configuration context. | |
Functions | |
gboolean | mio_sink_init_file_single (MIOSink *sink, const char *spec, MIOType vsp_type, void *cfg, GError **err) |
Initialize a file sink for writing to a single file. | |
gboolean | mio_sink_init_file_pattern (MIOSink *sink, const char *spec, MIOType vsp_type, void *cfg, GError **err) |
Initialize a file sink for writing to a multiple files based upon a pattern. |
Detailed Description
MIO file sink initializers.Most applications should use the interface in mio_config.h to access these initializers.
Typedef Documentation
|
File sink configuration context. Pass as the cfg argument to any file sink initializer. |
Function Documentation
|
Initialize a file sink for writing to a multiple files based upon a pattern. Fails over to mio_sink_file_single() if specifier does not have any pattern variables. The following pattern variables are supported:
|
|
Initialize a file sink for writing to a single file. Fails over to mio_sink_init_stdout() if specifier is the special string "-".
|