FidoNet Echomail Archive
sync_programming

<<< Previous Index Next >>>

From: rswindell
To: CVS commit
Date: 2019-02-07 18:13:32
Subject: src/xpdev/str_list.c str_list.h

src/xpdev str_list.c 1.50 1.51 str_list.h 1.26 1.27
Update of /cvsroot/sbbs/src/xpdev
In directory cvs:/tmp/cvs-serv22558

Modified Files:
	str_list.c str_list.h 
Log Message:
New function: strListModifyEach(), iterates through a string list, calling
a caller-supplied function (callback) which can modify each string or leave
the string in tact by returning NULL. Shrinking strings is trivial while
expanding strings (making them bigger) is a little more involved, probably
using the cbdata to pass a temporary buffer around to store each expanded
string or returning a new globally-valid pointer.
Removed the malloc.h #include as we haven't used alloca() here for a while. 


--- SBBSecho 3.06-Linux
 * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
SEEN-BY: 103/705 154/10 203/0 218/700 221/0 229/426 240/5832 261/38 280/464
SEEN-BY: 280/5003 396/45 423/120 633/0 267 280 281 384 408 412 509 712/132 848
SEEN-BY: 770/1
@PATH: 103/705 280/464 712/848 633/280 267


<<< Previous Index Next >>>