X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Fconf.c;h=2293cdae84a836ab7b22e0d6504e2003c80d228f;hb=8e6f42243848d33e5044ae6b47596245e3609bbe;hp=de6598105cfe08e540eeda36a4725a37b3b37d6e;hpb=cad27e97e6370f96903d42aaf345c099af0a03bd;p=libucw.git diff --git a/lib/conf.c b/lib/conf.c index de659810..2293cdae 100644 --- a/lib/conf.c +++ b/lib/conf.c @@ -2,7 +2,7 @@ * UCW Library -- Reading of configuration files * * (c) 2001 Robert Spalek - * (c) 2003 Martin Mares + * (c) 2003--2005 Martin Mares * * This software may be freely distributed and used according to the terms * of the GNU Lesser General Public License. @@ -46,6 +46,12 @@ cfg_malloc(uns size) return mp_alloc(cfpool, size); } +void * +cfg_malloc_zero(uns size) +{ + return mp_alloc_zero(cfpool, size); +} + byte * cfg_strdup(byte *s) {