GLOBAL Backend *back;
+typedef struct {
+ void (*send) (char *buf, int len);
+} Ldisc;
+
+GLOBAL Ldisc *ldisc;
+
typedef struct {
/* Basic options */
char host[512];
int nethack_keypad;
int alt_f4; /* is it special? */
int alt_space; /* is it special? */
+ int ldisc_term;
/* Terminal options */
int savelines;
int dec_om;
short wordness[256];
/* russian language translation */
int xlat_enablekoiwin;
+ int xlat_88592w1250;
int xlat_capslockcyr;
} Config;
GLOBAL int default_protocol;
GLOBAL int default_port;
+struct RSAKey; /* be a little careful of scope */
+
/*
* Exports from window.c.
*/
* Exports from raw.c.
*/
-Backend raw_backend;
+extern Backend raw_backend;
/*
* Exports from telnet.c.
extern Backend ssh_backend;
+/*
+ * Exports from ldisc.c.
+ */
+
+extern Ldisc ldisc_term, ldisc_simple;
+
/*
* Exports from sshrand.c.
*/