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 /*
10  * This appname is not strictly in the right place, since Plink
11  * also uses this module. However, Plink doesn't currently use any
12  * of the dialog-box sorts of things that make use of appname, so
13  * it shouldn't do any harm here. I'm trying to avoid having to
14  * have tiny little source modules containing nothing but
15  * declarations of appname, for as long as I can...
16  */
17 const char *const appname = "PuTTY";
18 
19 const int be_default_protocol = PROT_SSH;
20 
21 const struct BackendVtable *const backends[] = {
22     &ssh_backend,
23     &telnet_backend,
24     &rlogin_backend,
25     &supdup_backend,
26     &raw_backend,
27     &sshconn_backend,
28     NULL
29 };
30 
31 const size_t n_ui_backends = 1;
32