X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=putty.h;h=13609159758607d992ed61f404c82c0064db3689;hb=59e798fc6d78c472f7ce013cfca1b7af6ab95330;hp=2a3f028de4fdf8e137928600dab0d71e635c7d1a;hpb=d0184e9d4f16688d43bd409a302f604adcf49e02;p=PuTTY.git diff --git a/putty.h b/putty.h index 2a3f028d..13609159 100644 --- a/putty.h +++ b/putty.h @@ -14,6 +14,8 @@ #define GLOBAL extern #endif +GLOBAL HINSTANCE putty_inst; + #define ATTR_ACTCURS 0x80000000UL /* active cursor (block) */ #define ATTR_PASCURS 0x40000000UL /* passive cursor (box) */ #define ATTR_INVALID 0x20000000UL @@ -93,11 +95,13 @@ typedef struct { /* Basic options */ char host[512]; int port; - enum { PROT_TELNET, PROT_SSH } protocol; + enum { PROT_RAW, PROT_TELNET, PROT_SSH } protocol; int close_on_exit; + int warn_on_close; /* SSH options */ int nopty; enum { CIPHER_3DES, CIPHER_BLOWFISH, CIPHER_DES } cipher; + int try_tis_auth; /* Telnet options */ char termtype[32]; char termspeed[32]; @@ -120,6 +124,7 @@ typedef struct { char font[64]; int fontisbold; int fontheight; + int fontcharset; VT_Mode vtmode; /* Colour options */ int try_palette; @@ -128,6 +133,9 @@ typedef struct { /* Selection options */ int mouse_is_xterm; short wordness[256]; + /* russian language translation */ + int xlat_enablekoiwin; + int xlat_capslockcyr; } Config; /* @@ -203,6 +211,12 @@ void term_deselect (void); void term_update (void); void term_invalidate(void); +/* + * Exports from raw.c. + */ + +Backend raw_backend; + /* * Exports from telnet.c. */ @@ -249,6 +263,19 @@ 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. + */ +unsigned char xlat_kbd2tty(unsigned char c); +unsigned char xlat_tty2scr(unsigned char c); +unsigned char xlat_latkbd2win(unsigned char c); + /* * A debug system. */