]> asedeno.scripts.mit.edu Git - PuTTY.git/blob - be_all.c
Miscellaneous fixes to try to make other compilers happier
[PuTTY.git] / be_all.c
1 /*
2  * Linking module for PuTTY proper: list the available backends
3  * including ssh.
4  */
5
6 #include <windows.h>
7 #ifndef AUTO_WINSOCK
8 #ifdef WINSOCK_TWO
9 #include <winsock2.h>
10 #else
11 #include <winsock.h>
12 #endif
13 #endif
14 #include <stdio.h>
15 #include "putty.h"
16
17 struct backend_list backends[] = {
18     {PROT_SSH, "ssh", &ssh_backend},
19     {PROT_TELNET, "telnet", &telnet_backend},
20     {PROT_RAW, "raw", &raw_backend},
21     {0, NULL}
22 };