mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 09:27:59 +00:00
06531c3b61
This is a small cleanup that removes a couple of copies of some boring stubs, in favour of having just one copy that you can link against. Unix Pageant can't currently use this, because it's in a precarious state of _nearly_ having a random number generator: it links against sshprng but not sshrand, and only uses it for the randomised keypress acknowledgments in the GUI askpass prompt. But that means it does use uxnoise, unlike the truly randomness-free tools.
20 lines
358 B
C
20 lines
358 B
C
/*
|
|
* Linking module for PuTTYtel: list the available backends not
|
|
* including ssh.
|
|
*/
|
|
|
|
#include <stdio.h>
|
|
#include "putty.h"
|
|
|
|
const int be_default_protocol = PROT_TELNET;
|
|
|
|
const char *const appname = "PuTTYtel";
|
|
|
|
const struct BackendVtable *const backends[] = {
|
|
&telnet_backend,
|
|
&rlogin_backend,
|
|
&raw_backend,
|
|
&serial_backend,
|
|
NULL
|
|
};
|