mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
bbbda4110b
advantages: - protocol modules can call sk_write() without having to worry about writes blocking, because blocking writes are handled in the abstraction layer and retried later. - `Lost connection while sending' is a thing of the past. - <winsock.h> is no longer needed in most modules, because "putty.h" doesn't have to declare `SOCKET' variables any more, only the abstracted `Socket' type. - select()-equivalent between multiple sockets will now be handled sensibly, which opens the way for things like SSH port forwarding. [originally from svn r744]
17 lines
346 B
C
17 lines
346 B
C
/*
|
|
* Linking module for PSCP: list the available backends, but
|
|
* without accompanying function suites. Used only for name
|
|
* lookups.
|
|
*/
|
|
|
|
#include <windows.h>
|
|
#include <stdio.h>
|
|
#include "putty.h"
|
|
|
|
struct backend_list backends[] = {
|
|
{PROT_SSH, "ssh", NULL},
|
|
{PROT_TELNET, "telnet", NULL},
|
|
{PROT_RAW, "raw", NULL},
|
|
{0, NULL}
|
|
};
|