1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00
putty-source/be_nossh.c
Simon Tatham bbbda4110b Created a shiny new abstraction for the socket handling. Has many
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]
2000-10-23 10:32:37 +00:00

28 lines
468 B
C

/*
* Linking module for PuTTYtel: list the available backends not
* including ssh.
*/
#include <windows.h>
#include <stdio.h>
#include "putty.h"
struct backend_list backends[] = {
{PROT_TELNET, "telnet", &telnet_backend},
{PROT_RAW, "raw", &raw_backend},
{0, NULL}
};
/*
* Stub implementations of functions not used in non-ssh versions.
*/
void random_save_seed(void) {
}
void random_destroy_seed(void) {
}
void noise_ultralight(DWORD data) {
}