• src/sbbs3/findstr.c findstr.hsrc/sbbs3/echocfg.vcxproj getctrl.c getct

    From Rob Swindell@VERT to Git commit to main/sbbs/master on Wednesday, June 01, 2022 20:08:46
    https://gitlab.synchro.net/main/sbbs/-/commit/92bcd45ebe37b6718e7c05d7
    Added Files:
    src/sbbs3/findstr.c findstr.h
    Modified Files:
    src/sbbs3/echocfg.vcxproj getctrl.c getctrl.h jsexec.vcxproj load_cfg.vcxproj ntsvcs.vcxproj sbbs.h sbbs.vcxproj sbbscon.vcxproj sbbsecho.c scfglib.h scfglib1.c str_util.c str_util.h textgen.vcxproj userdat.c
    Log Message:
    Decompose some library files to enable reuse by SVDM (virtual DOS modem)

    I just wanted to reuse findstr() in vdmodem.c and I fell down this hole :-)

    findstr.* is new (findstr() related functions moved from str_util)
    getctrl.* is now finally the real home of get_ctrl_dir(), moved from str_util trashcan* functions moved from str_util to scfglib
    other scfg_t dependent functions moved from str_util to scfglib

    net_addr() appears to be a function that was never created/used (?)

    This will definitely break the *nix build, for now.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net