X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/e1c8e0ed0663eee368ce8f98380a7eae7ae93230..c91409da0ac0d3fb4a225ab85e14370514e4094e:/putty.h diff --git a/putty.h b/putty.h index 263c0450..34cf0696 100644 --- a/putty.h +++ b/putty.h @@ -24,6 +24,7 @@ #define ATTR_PASCURS 0x40000000UL /* passive cursor (box) */ #define ATTR_INVALID 0x20000000UL #define ATTR_WRAPPED 0x10000000UL +#define ATTR_RIGHTCURS 0x10000000UL /* doubles as cursor-on-RHS indicator */ #define LATTR_NORM 0x00000000UL #define LATTR_WIDE 0x01000000UL @@ -136,10 +137,10 @@ typedef struct { /* Basic options */ char host[512]; int port; - enum { PROT_RAW, PROT_TELNET, PROT_SSH } protocol; + enum { PROT_RAW, PROT_TELNET, PROT_RLOGIN, PROT_SSH } protocol; int close_on_exit; int warn_on_close; - int ping_interval; + int ping_interval; /* in seconds */ /* SSH options */ char remote_cmd[512]; int nopty; @@ -155,6 +156,7 @@ typedef struct { char termspeed[32]; char environmt[1024]; /* VAR\tvalue\0VAR\tvalue\0\0 */ char username[32]; + char localusername[32]; int rfc_environ; /* Keyboard options */ int bksp_is_delete; @@ -179,6 +181,7 @@ typedef struct { int dec_om; int wrap_mode; int lfhascr; + int cursor_type; /* 0=block 1=underline 2=vertical */ int blink_cur; int beep; int scrollbar; @@ -332,6 +335,12 @@ void term_copyall(void); extern Backend raw_backend; /* + * Exports from rlogin.c. + */ + +extern Backend rlogin_backend; + +/* * Exports from telnet.c. */