/*--------------------------------------------------------------------------- File name : lwjit_ini.h Author : N. Devillard Created on : July 2000 Description : lwjit ini file handling ---------------------------------------------------------------------------*/ /* $Id: lwjit_ini.h,v 1.2 2000/10/11 15:30:41 ndevilla Exp $ $Author: ndevilla $ $Date: 2000/10/11 15:30:41 $ $Revision: 1.2 $ */ #ifndef _LWJIT_INI_H_ #define _LWJIT_INI_H_ /*--------------------------------------------------------------------------- Includes ---------------------------------------------------------------------------*/ #include "lwjit_bb.h" /*--------------------------------------------------------------------------- Function prototypes ---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/ /** @name lwjit_ini_generate() @memo Generate a default ini file for lwjitter. @param ini_name filename of the file to generate @param name_i Input name. @param name_o Output name. @param name_c Calibration name. @return 0 if Ok, anything else otherwise @doc Generates a default ini file for the lwjitter command. */ /*---------------------------------------------------------------------------*/ int lwjit_ini_generate( char * name, char * name_i, char * name_o, char * name_c ); /*---------------------------------------------------------------------------*/ /** @name lwjit_ini_parse() @memo Parse an ini file and return an allocated blackboard. @param name Filename of ini file to parse. @return 1 allocated blackboard structure @doc The returned blackboard must be freed in the end using lwjit_bb_destroy(). This function returns NULL in case of parsing error. */ /*---------------------------------------------------------------------------*/ lwjit_bb * lwjit_ini_parse(char * ini_name); #endif