• src/sbbs3/sbbs.h str.cpp

    From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Sunday, October 27, 2024 22:54:11
    https://gitlab.synchro.net/main/sbbs/-/commit/60d953c907288ff5b0240c4f
    Modified Files:
    src/sbbs3/sbbs.h str.cpp
    Log Message:
    sbbs_t::xfer_prot_menu() can now return the list of command keys

    for use by JS bbs.xtrn_prot_menu() immediately, elsewhere soon.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Monday, October 28, 2024 01:38:17
    https://gitlab.synchro.net/main/sbbs/-/commit/b2b0d6223403a9dfa3807048
    Modified Files:
    src/sbbs3/sbbs.h str.cpp
    Log Message:
    sbbs_t::protnum() and protname() now accept the transfer type as argument

    It's possible to have multiple transfer protocols with the same mmemonic, but with different transfer types supports (which would be weird, but possible). This allows us to use protnum() to replace a lot of copy/pasted prot looping and comparing logic throughout sbbs.

    Also added a variant of sbbs_t::quit_key() that takes and returns a string
    (for easy concatenation to strings of key chars).
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)