--- libaitcfg/inc/aitcfg.h 2019/12/05 14:33:35 1.17 +++ libaitcfg/inc/aitcfg.h 2021/11/25 23:44:52 1.17.2.1 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitcfg.h,v 1.17 2019/12/05 14:33:35 misho Exp $ +* $Id: aitcfg.h,v 1.17.2.1 2021/11/25 23:44:52 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -12,7 +12,7 @@ terms: All of the documentation and software included in the ELWIX and AITNET Releases is copyrighted by ELWIX - Sofia/Bulgaria -Copyright 2004 - 2019 +Copyright 2004 - 2021 by Michael Pounov . All rights reserved. Redistribution and use in source and binary forms, with or without @@ -172,6 +172,15 @@ int cfgReadConfig(FILE *f, cfg_root_t * __restrict cfg * return: -1 error or 0 ok */ int cfgWriteConfig(FILE *f, cfg_root_t * __restrict cfg, int whitespace); +/* + * cfgWriteConfigRaw() - Write config from memory by list + * + * @f = File handle + * @cfg = Config root + * @whitespace = Additional whitespace characters to file + * return: -1 error or 0 ok + */ +int cfgWriteConfigRaw(FILE *f, cfg_root_t * __restrict cfg, int whitespace); /* * cfgConcatConfig() - Concat two configs into one *