• src/xpdev/str_list.c str_list.h

    From rswindell@1:103/705 to CVS commit on Thu Feb 7 18:13:32 2019
    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)
  • From rswindell@1:103/705 to CVS commit on Wed Mar 18 21:01:44 2020
    src/xpdev str_list.c 1.53 1.54 str_list.h 1.27 1.28
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/tmp/cvs-serv7129

    Modified Files:
    str_list.c str_list.h
    Log Message:
    New convenience functions: strListInsertFormat and strListAppendFormat
    these are printf-style functions for inserting or appending a string into a string list.

    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Tue Apr 7 12:56:24 2020
    src/xpdev str_list.c 1.55 1.56 str_list.h 1.28 1.29
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/tmp/cvs-serv22811

    Modified Files:
    str_list.c str_list.h
    Log Message:
    Added strListJoin() and strListIsEmpty() functions (for use in SBBSecho).

    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Tue Apr 7 12:59:29 2020
    src/xpdev str_list.c 1.56 1.57 str_list.h 1.29 1.30
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/tmp/cvs-serv23240

    Modified Files:
    str_list.c str_list.h
    Log Message:
    Remove all the DLLCALL noise. We don't need it.

    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Thu Apr 23 23:39:16 2020
    src/xpdev str_list.c 1.58 1.59 str_list.h 1.30 1.31
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/tmp/cvs-serv21508

    Modified Files:
    str_list.c str_list.h
    Log Message:
    Add strListStripStrings().

    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Fri Apr 24 00:02:17 2020
    src/xpdev str_list.c 1.59 1.60 str_list.h 1.31 1.32
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/tmp/cvs-serv24507

    Modified Files:
    str_list.c str_list.h
    Log Message:
    Add strListDedupe().

    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)