X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/d8d6c7e50e1fcf5171ec15f8a3e9bdcd141f0b64..740f2ef26b1987b3b3aee89e9f31ecef90279776:/putty.h diff --git a/putty.h b/putty.h index 266d6ac4..52e39dfc 100644 --- a/putty.h +++ b/putty.h @@ -277,10 +277,16 @@ typedef struct { int funky_type; int no_applic_c; /* totally disable app cursor keys */ int no_applic_k; /* totally disable app keypad */ + int no_remote_resize; /* disable remote resizing */ + int no_alt_screen; /* disable alternate screen */ + int no_remote_wintitle; /* disable remote retitling */ + int no_dbackspace; /* disable destructive backspace */ + int no_remote_charset; /* disable remote charset config */ int app_cursor; 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? */ @@ -426,6 +432,8 @@ void get_window_pos(int *x, int *y); void get_window_pixels(int *x, int *y); char *get_window_title(int icon); +void cleanup_exit(int); + /* * Exports from noise.c. */ @@ -487,6 +495,7 @@ int from_backend(int is_stderr, char *data, int len); void logfopen(void); void logfclose(void); void term_copyall(void); +void term_reconfig(void); /* * Exports from logging.c. @@ -535,6 +544,7 @@ void random_add_noise(void *noise, int length); void random_init(void); int random_byte(void); void random_get_savedata(void **data, int *len); +extern int random_active; /* * Exports from misc.c. @@ -590,4 +600,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