From rswindell@VERT to CVS commit on Thursday, February 07, 2019 18:13:00
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.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
Who's Online
Recent Visitors
Guest
Friday, November 29, 2024 00:57:06
from
E
via
Telnet
Guest
Thursday, November 28, 2024 11:04:51
from
Frome, Uk
via
Telnet
Guest
Wednesday, November 27, 2024 11:20:27
from
Bedford, Ns
via
Telnet
Guest
Monday, November 25, 2024 17:38:20
from
City, State
via
Telnet