X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/00db133f300dd6aa08111d2b42c749a940ecede9..0622ea7168aa265db70be885fbffb050f29f0205:/putty.h 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