X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/faf5762875a834c660fb6a8d89c23cb7bb3f6082..ffa79828fe69957be5910db025e26a10be94954d:/putty.h diff --git a/putty.h b/putty.h index 28320de0..516760ae 100644 --- a/putty.h +++ b/putty.h @@ -217,6 +217,12 @@ extern struct backend_list { Backend *backend; } backends[]; +/* + * Suggested default protocol provided by the backend link module. + * The application is free to ignore this. + */ +extern const int be_default_protocol; + struct config_tag { /* Basic options */ char host[512]; @@ -371,18 +377,6 @@ struct config_tag { }; /* - * You can compile with -DTELNET_DEFAULT to have telnet by default - * (otherwise SSH is the default). - */ -#ifdef TELNET_DEFAULT -#define DEFAULT_PROTOCOL PROT_TELNET -#define DEFAULT_PORT 23 -#else -#define DEFAULT_PROTOCOL PROT_SSH -#define DEFAULT_PORT 22 -#endif - -/* * Some global flags denoting the type of application. * * FLAG_VERBOSE is set when the user requests verbose details.