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