--- libaitcfg/inc/aitcfg.h 2008/08/28 13:17:41 1.1 +++ libaitcfg/inc/aitcfg.h 2009/09/09 09:29:37 1.2.2.1 @@ -1,3 +1,11 @@ +/************************************************************************* +* (C) 2008 AITNET ltd - Sofia/Bulgaria - +* by Michael Pounov +* +* $Author: misho $ +* $Id: aitcfg.h,v 1.2.2.1 2009/09/09 09:29:37 misho Exp $ +* +*************************************************************************/ #ifndef __AITCFG_H #define __AITCFG_H @@ -63,6 +71,14 @@ int ReadConfig(FILE *f, sl_config * __restrict cfg); * return: 0 ok; -1 error:: can`t write to file */ int WriteConfig(FILE *f, sl_config * __restrict cfg); + +/* + * cfg_WriteConfig() Write to file from items in config list without whitespaces! + * @f = file resource + * @cfg = Head list element + * return: 0 ok; -1 error:: can`t write to file +*/ +int cfg_WriteConfig(FILE *f, sl_config * __restrict cfg); /*