]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - ssh.h
Silly mistake - restore-cursor-pos doesn't make sure the cursor
[PuTTY.git] / ssh.h
diff --git a/ssh.h b/ssh.h
index 1e2291e8e8e3f46a803b770fe0ffa01f2d8c754e..3d4efab73dfadfd777beb496f21559d5d8f778f2 100644 (file)
--- a/ssh.h
+++ b/ssh.h
@@ -37,7 +37,7 @@ struct MD5Context {
     unsigned long hHash;
 #else
     MD5_Core_State core;
-    unsigned char block[BLKSIZE];
+    unsigned char block[64];
     int blkused;
     uint32 lenhi, lenlo;
 #endif
@@ -62,3 +62,10 @@ int random_byte(void);
 void random_add_noise(void *noise, int length);
 
 void logevent (char *);
+
+int ssh_compression_init(int);
+void ssh_compress(unsigned char *src, unsigned int srclen,
+                  unsigned char **dest, unsigned int *destlen);
+void ssh_decompress(unsigned char *src, unsigned int srclen,
+                    unsigned char **dest, unsigned int *destlen);
+