Airframe Application Utilities
libairframe 0.7.2 API documentation

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

mio_sink_file.h

Go to the documentation of this file.
00001 /*
00002  ** mio_sink_file.h
00003  ** Multiple I/O regular file sink, by pattern.
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_SINK_FILE_H_
00024 #define _AIRFRAME_MIO_SINK_FILE_H_
00025 #include <airframe/mio.h>
00026 
00031 typedef struct _MIOSinkFileConfig {
00036     uint32_t        next_serial;
00037 } MIOSinkFileConfig;
00038 
00054 gboolean mio_sink_init_file_single(
00055     MIOSink         *sink,
00056     const char      *spec,
00057     MIOType         vsp_type,
00058     void            *cfg,
00059     GError          **err);
00060 
00086 gboolean mio_sink_init_file_pattern(
00087     MIOSink         *sink,
00088     const char      *spec,
00089     MIOType         vsp_type,
00090     void            *cfg,
00091     GError          **err);
00092 
00093 /* end idem */
00094 #endif