Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * Linking module for PSCP: list the available backends, but | |
3 | * without accompanying function suites. Used only for name | |
4 | * lookups. | |
5 | */ | |
6 | ||
7 | #include <windows.h> | |
8 | #ifndef AUTO_WINSOCK | |
9 | #ifdef WINSOCK_TWO | |
10 | #include <winsock2.h> | |
11 | #else | |
12 | #include <winsock.h> | |
13 | #endif | |
14 | #endif | |
15 | #include <stdio.h> | |
16 | #include "putty.h" | |
17 | ||
18 | struct backend_list backends[] = { | |
19 | {PROT_SSH, "ssh", NULL}, | |
20 | {PROT_TELNET, "telnet", NULL}, | |
21 | {PROT_RAW, "raw", NULL}, | |
22 | {0, NULL} | |
23 | }; |