X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/ccbfb941a6124efb75b68313c86dd195cfab575f..b65b8aaea82eb57b726e495b53f6c192d0601625:/putty.h diff --git a/putty.h b/putty.h index 13609159..c2d6362d 100644 --- a/putty.h +++ b/putty.h @@ -92,6 +92,12 @@ typedef struct { GLOBAL Backend *back; typedef struct { + void (*send) (char *buf, int len); +} Ldisc; + +GLOBAL Ldisc *ldisc; + +typedef struct { /* Basic options */ char host[512]; int port; @@ -114,6 +120,10 @@ typedef struct { int linux_funkeys; int app_cursor; int app_keypad; + 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; @@ -153,6 +163,8 @@ GLOBAL Config cfg; GLOBAL int default_protocol; GLOBAL int default_port; +struct RSAKey; /* be a little careful of scope */ + /* * Exports from window.c. */ @@ -186,8 +198,8 @@ void random_save_seed(void); int do_config (void); int do_reconfig (HWND); void do_defaults (char *); -void lognegot (char *); -void shownegot (HWND); +void logevent (char *); +void showeventlog (HWND); void showabout (HWND); void verify_ssh_host_key(char *host, struct RSAKey *key); void get_sesslist(int allocate); @@ -215,7 +227,7 @@ void term_invalidate(void); * Exports from raw.c. */ -Backend raw_backend; +extern Backend raw_backend; /* * Exports from telnet.c. @@ -230,6 +242,12 @@ extern Backend telnet_backend; extern Backend ssh_backend; /* + * Exports from ldisc.c. + */ + +extern Ldisc ldisc_term, ldisc_simple; + +/* * Exports from sshrand.c. */