/*---------------------------------------------------------------------------- File name : jitter_ini.h Author : N. Devillard Created on : Sept 30, 1997 Description : Jitter mode ini file handling for ISAAC/SOFI ---------------------------------------------------------------------------*/ /* $Id: jitter_ini.h,v 1.3 2001/02/22 14:15:34 ndevilla Exp $ $Author: ndevilla $ $Date: 2001/02/22 14:15:34 $ $Revision: 1.3 $ */ #ifndef _JITTER_INI_H_ #define _JITTER_INI_H_ /*---------------------------------------------------------------------------- Includes ---------------------------------------------------------------------------*/ #include #include #include #include #include #include "eclipse.h" #include "jitter_cfg.h" /*---------------------------------------------------------------------------- Function prototypes ---------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------*/ /** @name generate_ini_file @memo Generate a default ini file for the jitter command. @param ini_name Name of the file to generate. @param name_i Name of the input file. @param name_o Name of the output file. @param name_c Name of the calibration file. @return int 0 if Ok, -1 otherwise. @doc This function generates a default ini file for the jitter command. The generated file will have the requested name. If you do not want to provide names for the input/output/calib files, feed either NULL pointers or character strings starting with (char)0. */ /*--------------------------------------------------------------------------*/ int generate_ini_file( char * ini_name, char * name_i, char * name_o, char * name_c ); /*-------------------------------------------------------------------------*/ /** @name parse_jitter_ini_file @memo Parse a jitter.ini file and create a blackboard. @param ini_name Name of the ASCII file to parse. @return 1 newly allocated jitter blackboard structure. @doc The requested ini file is parsed and a blackboard object is created, then updated accordingly. Returns NULL in case of error. */ /*--------------------------------------------------------------------------*/ jitter_config * parse_jitter_ini_file(char * ini_name) ; #endif