mio_source_file.h File Reference
MIO file source initializers. More...
#include <airframe/mio.h>
Go to the source code of this file.
Data Structures | |
struct | _MIOSourceFileConfig |
File source configuration context. More... | |
Typedefs | |
typedef _MIOSourceFileConfig | MIOSourceFileConfig |
File source configuration context. | |
Functions | |
gboolean | mio_source_init_file_dir (MIOSource *source, const char *spec, MIOType vsp_type, void *cfg, GError **err) |
Initialize a file source for reading every file from a specified directory. | |
gboolean | mio_source_init_file_glob (MIOSource *source, const char *spec, MIOType vsp_type, void *cfg, GError **err) |
Initialize a file source for reading every file from a specified glob(3) expression. | |
gboolean | mio_source_init_file_single (MIOSource *source, const char *spec, MIOType vsp_type, void *cfg, GError **err) |
Initialize a file source for a single file. |
Detailed Description
MIO file source initializers.Most applications should use the interface in mio_config.h to access these initializers.
Typedef Documentation
|
File source configuration context. Pass as the cfg argument to any file source initializer. |
Function Documentation
|
Initialize a file source for reading every file from a specified directory.
|
|
Initialize a file source for reading every file from a specified glob(3) expression. Fails over to mio_source_init_file_single() if the specifier contains no glob expression characters.
|
|
Initialize a file source for a single file. Fails over to mio_source_init_stdin() if specifier is the special string "-".
|