• src/sbbs3/scfglib.h scfglib1.c

    From rswindell@VERT to CVS commit on Tue Nov 8 11:59:59 2016
    src/sbbs3 scfglib.h 1.19 1.20 scfglib1.c 1.67 1.68
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv23449

    Modified Files:
    scfglib.h scfglib1.c
    Log Message:
    New convenience function: smb_storage_mode(), returns the correct storage
    mode for a specified message base (mail or sub-board). This logic exists in many other files and can now be consolidated using this single function.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Tue Nov 15 13:38:12 2016
    src/sbbs3 scfglib.h 1.20 1.21 scfglib1.c 1.68 1.69
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv9773

    Modified Files:
    scfglib.h scfglib1.c
    Log Message:
    Created convenience function for opening a sub-board or mail base
    "the right way", this will be used to replace a lot of copy/pasta over time.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sun Mar 20 20:32:05 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/a466152f730d99d496b04ce1
    Modified Files:
    src/sbbs3/scfglib.h scfglib1.c
    Log Message:
    Create some convenience functions for validating lib/dir/grp/sub nums

    There are lot of places in the code where subnums and dirnums (especially) are compared against total_subs and/or total_dirs or >= 0 without a ton of consistency. We should migrate to use these functions for validity-checking going forward.
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net