OSDN Git Service

Fix codes for debugging.
[ffftp/ffftp.git] / putty / BE_ALL.C
1 /*\r
2  * Linking module for PuTTY proper: list the available backends\r
3  * including ssh.\r
4  */\r
5 \r
6 #include <stdio.h>\r
7 #include "putty.h"\r
8 \r
9 /*\r
10  * This appname is not strictly in the right place, since Plink\r
11  * also uses this module. However, Plink doesn't currently use any\r
12  * of the dialog-box sorts of things that make use of appname, so\r
13  * it shouldn't do any harm here. I'm trying to avoid having to\r
14  * have tiny little source modules containing nothing but\r
15  * declarations of appname, for as long as I can...\r
16  */\r
17 const char *const appname = "PuTTY";\r
18 \r
19 #ifdef TELNET_DEFAULT\r
20 const int be_default_protocol = PROT_TELNET;\r
21 #else\r
22 const int be_default_protocol = PROT_SSH;\r
23 #endif\r
24 \r
25 Backend *backends[] = {\r
26     &ssh_backend,\r
27     &telnet_backend,\r
28     &rlogin_backend,\r
29     &raw_backend,\r
30     NULL\r
31 };\r