X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=putty.h;h=baa55ff6df97ea771f861aded4b9d33a42648406;hb=3f8bd285983e7cbf677d2469990a72e1dd94be16;hp=27a6564eae5953fce21460cd135b0fc757cf7820;hpb=3ed0d44f163722e1eb256e02419a832bcedc61cc;p=PuTTY.git diff --git a/putty.h b/putty.h index 27a6564e..baa55ff6 100644 --- a/putty.h +++ b/putty.h @@ -214,6 +214,7 @@ typedef struct { void (*size) (void); void (*special) (Telnet_Special code); Socket(*socket) (void); + int (*exitcode) (void); int (*sendok) (void); int (*ldisc) (int); /* @@ -280,6 +281,7 @@ typedef struct { int app_keypad; int nethack_keypad; int telnet_keyboard; + int telnet_newline; int alt_f4; /* is it special? */ int alt_space; /* is it special? */ int alt_only; /* is it special? */ @@ -347,7 +349,8 @@ typedef struct { int x11_forward; char x11_display[128]; /* port forwarding */ - int lport_acceptall; /* accepts connection from hosts other than localhost */ + int lport_acceptall; /* accept conns from hosts other than localhost */ + int rport_acceptall; /* same for remote forwarded ports (SSH2 only) */ char portfwd[1024]; /* [LR]localport\thost:port\000[LR]localport\thost:port\000\000 */ } Config; @@ -588,4 +591,12 @@ const char *wc_error(int value); int wc_match(const char *wildcard, const char *target); int wc_unescape(char *output, const char *wildcard); +/* + * Exports from console.c (that aren't equivalents to things in + * windlg.c). + */ +extern int console_batch_mode; +extern char *console_password; +int console_get_line(const char *prompt, char *str, int maxlen, int is_pw); + #endif