X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/beefa433b8268f0a7bf334ce37563dd3361a4177..a88d77d63c57f69abdb74bd636de334311bd5c11:/putty.h diff --git a/putty.h b/putty.h index 28639a9b..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? */ @@ -589,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