Move omission of SSH protocol setting in PuTTYtel into windlg.c and
[u/mdw/putty] / putty.h
diff --git a/putty.h b/putty.h
index 07990a6..2f510ff 100644 (file)
--- a/putty.h
+++ b/putty.h
@@ -115,6 +115,7 @@ typedef struct {
     void (*special) (Telnet_Special code);
     SOCKET (*socket) (void);
     int (*sendok) (void);
+    int default_port;
 } Backend;
 
 GLOBAL Backend *back;
@@ -163,6 +164,7 @@ typedef struct {
     int alt_space;                    /* is it special? */
     int ldisc_term;
     int scroll_on_key;
+    char wintitle[256];                /* initial window title */
     /* Terminal options */
     int savelines;
     int dec_om;
@@ -242,7 +244,7 @@ Context get_ctx(void);
 void free_ctx (Context);
 void palette_set (int, int, int, int);
 void palette_reset (void);
-void write_clip (void *, int);
+void write_clip (void *, int, int);
 void get_clip (void **, int *);
 void optimised_move (int, int, int);
 void connection_fatal(char *, ...);
@@ -270,7 +272,7 @@ void do_defaults (char *);
 void logevent (char *);
 void showeventlog (HWND);
 void showabout (HWND);
-void verify_ssh_host_key(char *host, char *keytype,
+void verify_ssh_host_key(char *host, int port, char *keytype,
                          char *keystr, char *fingerprint);
 void get_sesslist(int allocate);
 void registry_cleanup(void);