X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/47a6b94c2389f0e2a4f42706818a12369746b713..33f07e9636e80bb17f25f97145ca2e0eb262db30:/putty.h?ds=sidebyside diff --git a/putty.h b/putty.h index af3768d8..fed589bb 100644 --- a/putty.h +++ b/putty.h @@ -269,7 +269,8 @@ enum { struct backend_tag { const char *(*init) (void *frontend_handle, void **backend_handle, Config *cfg, - char *host, int port, char **realhost, int nodelay); + char *host, int port, char **realhost, int nodelay, + int keepalive); void (*free) (void *handle); /* back->reconfig() passes in a replacement configuration. */ void (*reconfig) (void *handle, Config *cfg); @@ -329,6 +330,7 @@ struct config_tag { int warn_on_close; int ping_interval; /* in seconds */ int tcp_nodelay; + int tcp_keepalives; /* Proxy options */ char proxy_exclude_list[512]; int proxy_dns; @@ -428,6 +430,8 @@ struct config_tag { int window_border; char answerback[256]; char printer[128]; + int arabicshaping; + int bidi; /* Colour options */ int system_colour; int try_palette; @@ -831,6 +835,16 @@ void setup_config_box(struct controlbox *b, struct sesslist *sesslist, int midsession, int protocol); /* + * Exports from minibidi.c. + */ +typedef struct bidi_char { + wchar_t origwc, wc; + unsigned short index; +} bidi_char; +int do_bidi(bidi_char *line, int count); +int do_shape(bidi_char *line, bidi_char *to, int count); + +/* * X11 auth mechanisms we know about. */ enum {