]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - ssh.h
Refactor the construction of X protocol greetings.
[PuTTY.git] / ssh.h
diff --git a/ssh.h b/ssh.h
index 8e2a908d4c550716e707bb627e5201cb10b6fd1f..f73a3738ca85d41a9cbc1dd903e1550089c34893 100644 (file)
--- a/ssh.h
+++ b/ssh.h
@@ -401,6 +401,10 @@ struct X11FakeAuth {
      */
     struct X11Display *disp;
 };
+void *x11_make_greeting(int endian, int protomajor, int protominor,
+                        int auth_proto, const void *auth_data, int auth_len,
+                        const char *peer_ip, int peer_port,
+                        int *outlen);
 int x11_authcmp(void *av, void *bv); /* for putting X11FakeAuth in a tree234 */
 /*
  * x11_setup_display() parses the display variable and fills in an