TIP: Click on subject to list as thread! ANSI
echo: sync_programming
to: Git commit to main/sbbs/m
from: Rob Swindell (on Windows
date: 2024-10-28 01:38:00
subject: src/sbbs3/sbbs.h str.cpp

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)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.