X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=putty.h;h=273a8118451c9d84e7f12df24d2fd27be943cee0;hb=55b8c21f0fdc18f2cc5720e5791f3ede9352efbe;hp=42c85926328b76d80cfd316f2a2c435ffd6e6ff9;hpb=e913e99b40ee87bd0bfae34daea6b59fa82b0e07;p=PuTTY.git diff --git a/putty.h b/putty.h index 42c85926..273a8118 100644 --- a/putty.h +++ b/putty.h @@ -91,6 +91,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]; @@ -101,6 +107,7 @@ typedef struct { /* SSH options */ int nopty; enum { CIPHER_3DES, CIPHER_BLOWFISH, CIPHER_DES } cipher; + int try_tis_auth; /* Telnet options */ char termtype[32]; char termspeed[32]; @@ -113,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; @@ -134,6 +145,7 @@ typedef struct { short wordness[256]; /* russian language translation */ int xlat_enablekoiwin; + int xlat_88592w1250; int xlat_capslockcyr; } Config; @@ -152,6 +164,8 @@ GLOBAL Config cfg; GLOBAL int default_protocol; GLOBAL int default_port; +struct RSAKey; /* be a little careful of scope */ + /* * Exports from window.c. */ @@ -185,8 +199,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); @@ -214,7 +228,7 @@ void term_invalidate(void); * Exports from raw.c. */ -Backend raw_backend; +extern Backend raw_backend; /* * Exports from telnet.c. @@ -228,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. */ @@ -262,6 +282,12 @@ void safefree(void *); */ extern char ver[]; +/* + * Exports from sizetip.c. + */ +void UpdateSizeTip(HWND src, int cx, int cy); +void EnableSizeTip(int bEnable); + /* * Exports from xlat.c. */