• 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 Saturday, September 21, 2024 17:00:47
    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