--- libaitcfg/inc/aitcfg.h 2012/04/04 13:11:49 1.7 +++ libaitcfg/inc/aitcfg.h 2012/07/25 12:37:06 1.7.4.1 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitcfg.h,v 1.7 2012/04/04 13:11:49 misho Exp $ +* $Id: aitcfg.h,v 1.7.4.1 2012/07/25 12:37:06 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -98,12 +98,19 @@ int cfgInitConfig(cfg_root_t * __restrict cfg); */ int cfgLoadConfig(const char *cfgName, cfg_root_t * __restrict cfg); /* - * cfgUnloadConfig() - Unload config from memory and free resources + * cfgUnloadConfig() - Unload config from memory and destroy resources * * @cfg = Config root * return: none */ void cfgUnloadConfig(cfg_root_t * __restrict cfg); +/* + * cfgClearConfig() - Clear config and free resources + * + * @cfg = Config root + * return: none + */ +void cfgClearConfig(cfg_root_t * __restrict cfg); /* * cfgCreateConfig() - Create config file from memory *