• src/xpdev/ini_file.c ini_file.h

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Wed Nov 20 20:50:41 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/7046272ee449ddfa4d9be008
    Modified Files:
    src/xpdev/ini_file.c ini_file.h
    Log Message:
    Add iniGet/ReadSectionListWithDupes()

    For use cases were we don't want to silenty ignore duplicate (secondary) section definitions.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on ChromeOS)@VERT to Git commit to main/sbbs/master on Sat Jan 25 18:44:12 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/5020716c5afd9b42ab6f9d0f
    Modified Files:
    src/xpdev/ini_file.c ini_file.h
    Log Message:
    Add iniAppendSectionWithNamedStrings()

    If you have list of named strings (named_string_t) and want to add them as
    a section of key/value pairs to a [section] in .ini formatted string list, this is the function you want to use. I'm not sure if this is exactly what Deuce had in mind (for use in SyncTERM), but it wasn't a lot of code to write and might be useful to someone someday.

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