X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/b00f8b3477c0f6fcb7506d9d5bcf37b8dd4f0455..508a60842de39f4433118de83afb8bcd7ffc423e:/putty.h diff --git a/putty.h b/putty.h index 0a2cad6f..45f762f7 100644 --- a/putty.h +++ b/putty.h @@ -140,6 +140,7 @@ typedef struct { /* SSH options */ char remote_cmd[512]; int nopty; + int compression; int agentfwd; enum { CIPHER_3DES, CIPHER_BLOWFISH, CIPHER_DES } cipher; char keyfile[FILENAME_MAX]; @@ -165,6 +166,7 @@ typedef struct { int alt_space; /* is it special? */ int alt_only; /* is it special? */ int ldisc_term; + int alwaysontop; int scroll_on_key; int scroll_on_disp; int compose_key; @@ -312,6 +314,7 @@ void term_blink(int set_cursor); void term_paste(void); void term_nopaste(void); void from_backend(int is_stderr, char *data, int len); +void term_copyall(void); /* * Exports from raw.c. @@ -399,28 +402,9 @@ void crypto_wrapup(); void agent_query(void *in, int inlen, void **out, int *outlen); int agent_exists(void); -/* - * A debug system. - */ #ifdef DEBUG -#include +void dprintf(char *fmt, ...); #define debug(x) (dprintf x) -static void dprintf(char *fmt, ...) { - char buf[2048]; - DWORD dw; - va_list ap; - static int gotconsole = 0; - - if (!gotconsole) { - AllocConsole(); - gotconsole = 1; - } - - va_start(ap, fmt); - vsprintf(buf, fmt, ap); - WriteFile (GetStdHandle(STD_OUTPUT_HANDLE), buf, strlen(buf), &dw, NULL); - va_end(ap); -} #else #define debug(x) #endif