• src/xpdev/ini_file.c ini_file.h

    From Rob Swindell@VERT to Git commit to main/sbbs/master on Sun May 15 23:49:56 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/ce285b1f404fd93ab52d0735
    Modified Files:
    src/xpdev/ini_file.c ini_file.h
    Log Message:
    Replace deprecated inet_ntoa and inet_addr function calls

    Use inet_ntop and inet_pton instead.

    Use 32-bit arguments and return values for IPv4 addressess for all target platforms (ulong is 64-bit on LP64, e.g. Linux-x64, targets).
    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Thu Dec 29 14:16:20 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/165a81a4606d61cc028f2c86
    Modified Files:
    src/xpdev/ini_file.c ini_file.h
    Log Message:
    Add iniGetIntInRange() for range-enforced integer values

    If you're going to use a read key value as say, an index into fixed-length array, then you better be sure it's within an expected range.
    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Fri Dec 30 02:22:55 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/e4f27335d5233eb80c932622
    Modified Files:
    src/xpdev/ini_file.c ini_file.h
    Log Message:
    Add functions for reading/getting/settings 64-bit ints/uints

    No immediate use, but I thought I had one. I didn't. Still, will probably need these one day.
    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Wed Feb 15 23:38:59 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/096fcddb227c690e274d6db9
    Modified Files:
    src/xpdev/ini_file.c ini_file.h
    Log Message:
    Add iniGetClampedInt() to return an int key val clamped to a min/max range

    Very similar to iniGetIntInRange(), but the default value is only returned
    if the key or value is missing.
    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Tue Feb 20 05:22:23 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/81457b26b9ce0283d346b7d8
    Modified Files:
    src/xpdev/ini_file.c ini_file.h
    Log Message:
    Add iniGetSString() that takes the size of the buffer
    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Tue Feb 20 05:22:23 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/c69a4f981eec3c009772fb59
    Modified Files:
    src/xpdev/ini_file.c ini_file.h
    Log Message:
    Add iniReadSString() as well.
    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • 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