Implement Simon's suggestion of moving DEFAULT_PROTOCOL into a per-backend-
[u/mdw/putty] / be_nossh.c
1 /*
2 * Linking module for PuTTYtel: list the available backends not
3 * including ssh.
4 */
5
6 #include <windows.h>
7 #include <stdio.h>
8 #include "putty.h"
9
10 const int be_default_protocol = PROT_TELNET;
11
12 struct backend_list backends[] = {
13 {PROT_TELNET, "telnet", &telnet_backend},
14 {PROT_RLOGIN, "rlogin", &rlogin_backend},
15 {PROT_RAW, "raw", &raw_backend},
16 {0, NULL}
17 };
18
19 /*
20 * Stub implementations of functions not used in non-ssh versions.
21 */
22 void random_save_seed(void)
23 {
24 }
25
26 void random_destroy_seed(void)
27 {
28 }
29
30 void noise_ultralight(DWORD data)
31 {
32 }
33
34 void noise_regular(void)
35 {
36 }