To avoid gratuitous flicker, if a control already has the focus when it's
[sgt/putty] / be_all.c
CommitLineData
89ee5268 1/*
2 * Linking module for PuTTY proper: list the available backends
3 * including ssh.
4 */
5
89ee5268 6#include <stdio.h>
7#include "putty.h"
8
ffa79828 9#ifdef TELNET_DEFAULT
10const int be_default_protocol = PROT_TELNET;
11#else
12const int be_default_protocol = PROT_SSH;
13#endif
14
89ee5268 15struct backend_list backends[] = {
16 {PROT_SSH, "ssh", &ssh_backend},
17 {PROT_TELNET, "telnet", &telnet_backend},
c91409da 18 {PROT_RLOGIN, "rlogin", &rlogin_backend},
89ee5268 19 {PROT_RAW, "raw", &raw_backend},
20 {0, NULL}
21};