First stab at the ability to compile puttytel.exe, an SSH-free
[u/mdw/putty] / putty.h
diff --git a/putty.h b/putty.h
index c2d6362..70122d0 100644 (file)
--- a/putty.h
+++ b/putty.h
@@ -62,11 +62,24 @@ GLOBAL int has_focus;
 
 GLOBAL int app_cursor_keys, app_keypad_keys;
 
+GLOBAL int seen_key_event;
+GLOBAL int seen_disp_event;
+
+GLOBAL int session_closed;
+
+typedef enum {
+    US_NONE = 0, US_KEY = 1, US_DISP = 2, US_BOTH = 3
+} Unscroll_Trigger;
+
+GLOBAL Unscroll_Trigger unscroll_event;
+
+GLOBAL char *logfile;
+
 #define WM_NETEVENT  (WM_USER + 1)
 
 typedef enum {
     TS_AYT, TS_BRK, TS_SYNCH, TS_EC, TS_EL, TS_GA, TS_NOP, TS_ABORT,
-    TS_AO, TS_IP, TS_SUSP, TS_EOR, TS_EOF
+    TS_AO, TS_IP, TS_SUSP, TS_EOR, TS_EOF, TS_LECHO, TS_RECHO
 } Telnet_Special;
 
 typedef enum {
@@ -91,6 +104,12 @@ typedef struct {
 
 GLOBAL Backend *back;
 
+GLOBAL struct backend_list {
+    int protocol;
+    char *name;
+    Backend *backend;
+} backends[];
+
 typedef struct {
     void (*send) (char *buf, int len);
 } Ldisc;
@@ -145,6 +164,7 @@ typedef struct {
     short wordness[256];
     /* russian language translation */
     int xlat_enablekoiwin;
+    int xlat_88592w1250;
     int xlat_capslockcyr;
 } Config;
 
@@ -201,7 +221,7 @@ void do_defaults (char *);
 void logevent (char *);
 void showeventlog (HWND);
 void showabout (HWND);
-void verify_ssh_host_key(char *host, struct RSAKey *key);
+void verify_ssh_host_key(char *host, char *keystr);
 void get_sesslist(int allocate);
 
 GLOBAL int nsessions;