X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/fe50e8140a2dbb3ba357a0ab777f34e07d568c23..708bbbbe30a499a0a51e0356e7056206b15989fd:/putty.h?ds=sidebyside diff --git a/putty.h b/putty.h index 6747b42c..6b49379d 100644 --- a/putty.h +++ b/putty.h @@ -1,6 +1,8 @@ #ifndef PUTTY_PUTTY_H #define PUTTY_PUTTY_H +#include "network.h" + #define PUTTY_REG_POS "Software\\SimonTatham\\PuTTY" #define PUTTY_REG_PARENT "Software\\SimonTatham" #define PUTTY_REG_PARENT_CHILD "PuTTY" @@ -104,12 +106,11 @@ typedef enum { } VT_Mode; typedef struct { - char *(*init) (HWND hwnd, char *host, int port, char **realhost); - int (*msg) (WPARAM wParam, LPARAM lParam); + char *(*init) (char *host, int port, char **realhost); void (*send) (char *buf, int len); void (*size) (void); void (*special) (Telnet_Special code); - SOCKET (*socket) (void); + Socket (*socket) (void); int (*sendok) (void); int default_port; } Backend; @@ -160,8 +161,11 @@ typedef struct { int nethack_keypad; int alt_f4; /* is it special? */ int alt_space; /* is it special? */ + int alt_only; /* is it special? */ int ldisc_term; int scroll_on_key; + int scroll_on_disp; + int compose_key; char wintitle[256]; /* initial window title */ /* Terminal options */ int savelines; @@ -256,8 +260,9 @@ void sys_cursor(int x, int y); /* * Exports from noise.c. */ -void noise_get_heavy(void (*func) (void *, int)); -void noise_get_light(void (*func) (void *, int)); +void noise_get_heavy(void (*func)(void *, int)); +void noise_get_light(void (*func)(void *, int)); +void noise_regular(void); void noise_ultralight(DWORD data); void random_save_seed(void); void random_destroy_seed(void);