Airframe Application Utilities
libairframe 0.7.2 API documentation

Main Page | Data Structures | File List | Data Fields | Globals

mio_source_file.h

Go to the documentation of this file.
00001 /*
00002  ** mio_source_file.h
00003  ** Multiple I/O regular file source, from single file, glob, or directory.
00004  **
00005  ** ------------------------------------------------------------------------
00006  ** Copyright (C) 2006 Carnegie Mellon University. All Rights Reserved.
00007  ** ------------------------------------------------------------------------
00008  ** Authors: Brian Trammell <bht@cert.org>
00009  ** ------------------------------------------------------------------------
00010  ** GNU Lesser GPL Rights pursuant to Version 2.1, February 1999 
00011  ** Government Purpose License Rights (GPLR) pursuant to DFARS 252.225-7013
00012  ** ------------------------------------------------------------------------
00013  */
00014 
00022 /* idem hack */
00023 #ifndef _AIRFRAME_MIO_SOURCE_FILE_H_
00024 #define _AIRFRAME_MIO_SOURCE_FILE_H_
00025 #include <airframe/mio.h>
00026 
00031 typedef struct _MIOSourceFileConfig {
00033     char                *nextdir;
00035     char                *faildir;
00036 } MIOSourceFileConfig;
00037 
00052 gboolean mio_source_init_file_dir(
00053     MIOSource       *source,
00054     const char      *spec,
00055     MIOType         vsp_type,
00056     void            *cfg,
00057     GError          **err);
00058 
00075 gboolean mio_source_init_file_glob(
00076     MIOSource       *source,
00077     const char      *spec,
00078     MIOType         vsp_type,
00079     void            *cfg,
00080     GError          **err);
00081 
00097 gboolean mio_source_init_file_single(
00098     MIOSource       *source,
00099     const char      *spec,
00100     MIOType         vsp_type,
00101     void            *cfg,
00102     GError          **err);
00103 
00104 /* end idem */
00105 #endif