Commit c72410dd authored by Matteo Quintiliani's avatar Matteo Quintiliani
Browse files

Added function to do nmxp_raw_stream_manage_flush()


git-svn-id: file:///home/quintiliani/svncopy/nmxptool/trunk@327 3cd66e75-5955-46cb-a940-c26e5fc5497d
parent 30eb11c8
......@@ -7,7 +7,7 @@
* Istituto Nazionale di Geofisica e Vulcanologia - Italy
* quintiliani@ingv.it
*
* $Id: nmxp.h,v 1.36 2007-09-20 16:32:44 mtheo Exp $
* $Id: nmxp.h,v 1.37 2007-09-21 07:02:30 mtheo Exp $
*
*/
......@@ -323,5 +323,14 @@ void nmxp_raw_stream_free(NMXP_RAW_STREAM_DATA *raw_stream_buffer);
*/
int nmxp_raw_stream_manage(NMXP_RAW_STREAM_DATA *p, NMXP_DATA_PROCESS *a_pd, int (*p_func_pd[NMXP_MAX_FUNC_PD]) (NMXP_DATA_PROCESS *), int n_func_pd);
/*! \brief Execute a list of functions on remaining NMXP_DATA_PROCESS structures
*
* \param p pointer to NMXP_RAW_STREAM_DATA
* \param p_func_pd array of functions to execute on a single item NMXP_DATA_PROCESS
* \param n_func_pd number of functions into the array p_func_pd
*
*/
int nmxp_raw_stream_manage_flush(NMXP_RAW_STREAM_DATA *p, int (*p_func_pd[NMXP_MAX_FUNC_PD]) (NMXP_DATA_PROCESS *), int n_func_pd);
#endif
......@@ -7,7 +7,7 @@
* Istituto Nazionale di Geofisica e Vulcanologia - Italy
* quintiliani@ingv.it
*
* $Id: nmxp.c,v 1.46 2007-09-20 16:32:44 mtheo Exp $
* $Id: nmxp.c,v 1.47 2007-09-21 07:02:30 mtheo Exp $
*
*/
......@@ -706,3 +706,10 @@ int nmxp_raw_stream_manage(NMXP_RAW_STREAM_DATA *p, NMXP_DATA_PROCESS *a_pd, int
return ret;
}
/* TODO */
int nmxp_raw_stream_manage_flush(NMXP_RAW_STREAM_DATA *p, int (*p_func_pd[NMXP_MAX_FUNC_PD]) (NMXP_DATA_PROCESS *), int n_func_pd) {
int ret = 0;
return ret;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment