X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/89ee5268a99aac30dbdf36bc3a02074d34e653f2..3cf144db040ec58cab4051e32f2e486d21b01b4a:/be_none.c diff --git a/be_none.c b/be_none.c index 0ec3a793..8151b3d7 100644 --- a/be_none.c +++ b/be_none.c @@ -1,13 +1,23 @@ /* - * Linking module for PSCP: list no available backends. This is - * only present to satisfy linker requirements. I should really - * untangle the whole lot a bit better. + * Linking module for PSCP: list the available backends, but + * without accompanying function suites. Used only for name + * lookups. */ #include +#ifndef AUTO_WINSOCK +#ifdef WINSOCK_TWO +#include +#else +#include +#endif +#endif #include #include "putty.h" struct backend_list backends[] = { + {PROT_SSH, "ssh", NULL}, + {PROT_TELNET, "telnet", NULL}, + {PROT_RAW, "raw", NULL}, {0, NULL} };