mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 09:27:59 +00:00
e8ebb4c879
link-module const variable `be_default_protocol' which suggests a sensible default to the front end (which can ignore it). (DEFAULT_PORT is replaced by a lookup in the backend[] table.) Still not pretty, but it does mean that the recent fix for `ssh-default' doesn't break PuTTYtel. [originally from svn r2613]
37 lines
589 B
C
37 lines
589 B
C
/*
|
|
* Linking module for PuTTYtel: list the available backends not
|
|
* including ssh.
|
|
*/
|
|
|
|
#include <windows.h>
|
|
#include <stdio.h>
|
|
#include "putty.h"
|
|
|
|
const int be_default_protocol = PROT_TELNET;
|
|
|
|
struct backend_list backends[] = {
|
|
{PROT_TELNET, "telnet", &telnet_backend},
|
|
{PROT_RLOGIN, "rlogin", &rlogin_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)
|
|
{
|
|
}
|
|
|
|
void noise_regular(void)
|
|
{
|
|
}
|