be_all.c

来自「大名鼎鼎的远程登录软件putty的Symbian版源码」· C语言 代码 · 共 32 行

C
32
字号
/* * Linking module for PuTTY proper: list the available backends * including ssh. */#include <stdio.h>#include "putty.h"/* * This appname is not strictly in the right place, since Plink * also uses this module. However, Plink doesn't currently use any * of the dialog-box sorts of things that make use of appname, so * it shouldn't do any harm here. I'm trying to avoid having to * have tiny little source modules containing nothing but * declarations of appname, for as long as I can... */const char *const appname = "PuTTY";#ifdef TELNET_DEFAULTconst int be_default_protocol = PROT_TELNET;#elseconst int be_default_protocol = PROT_SSH;#endifconst struct backend_list backends[] = {    {PROT_SSH, "ssh", &ssh_backend},    {PROT_TELNET, "telnet", &telnet_backend},    {PROT_RLOGIN, "rlogin", &rlogin_backend},    {PROT_RAW, "raw", &raw_backend},    {0, NULL}};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?