• src/syncterm/Manual.txt bbslist.c conn.h src/xpdev/netwrap.c netwrap.h

    From Deucе@VERT to Git commit to main/sbbs/master on Sat Sep 21 17:00:47 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/c5584feec0369d6090070036
    Modified Files:
    src/syncterm/Manual.txt bbslist.c conn.h src/xpdev/netwrap.c netwrap.h Log Message:
    Clean up and improve 6e516ae

    The first entry I tried adding was "Example..." which was not a
    valid hostname, but was copied into the address and looked silly.

    Now only copies into address if it's a valid, usable hostname.

    Also, add a convenience macro to check if a connection type uses
    the network or not.

    New functions in netwrap:
    bool isValidHostname(const char *str);
    bool isValidAddressString(const char *str);
    bool isResolvableHostname(const char *str);

    We ust the last one (which calls the other two) for this feature now.

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