X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=putty.h;h=baa55ff6df97ea771f861aded4b9d33a42648406;hb=f1ece56e40435efdf8eaeb2b11b34d73ee3f4a22;hp=28639a9be9f4c21aec9f502fde58f89e3d53dacc;hpb=88a3baa06541fc6563f5f94bac4758141eada690;p=PuTTY.git 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