#define ATTR_BOLD 0x00000100UL
#define ATTR_UNDER 0x00000200UL
#define ATTR_REVERSE 0x00000400UL
+#define ATTR_BLINK 0x00000800UL
#define ATTR_FGMASK 0x0000F000UL
#define ATTR_BGMASK 0x000F0000UL
#define ATTR_FGSHIFT 12
GLOBAL char *logfile;
-#define WM_NETEVENT (WM_USER + 1)
+/*
+ * I've just looked in the windows standard headr files for WM_USER, there
+ * are hundreds of flags defined using the form WM_USER+123 so I've
+ * renumbered this NETEVENT value and the two in window.c
+ */
+#define WM_XUSER (WM_USER + 0x2000)
+#define WM_NETEVENT (WM_XUSER + 5)
typedef enum {
TS_AYT, TS_BRK, TS_SYNCH, TS_EC, TS_EL, TS_GA, TS_NOP, TS_ABORT,
GLOBAL Backend *back;
+GLOBAL struct backend_list {
+ int protocol;
+ char *name;
+ Backend *backend;
+} backends[];
+
typedef struct {
void (*send) (char *buf, int len);
} Ldisc;
int alt_f4; /* is it special? */
int alt_space; /* is it special? */
int ldisc_term;
+ int blink_cur;
/* Terminal options */
int savelines;
int dec_om;
/*
* Exports from window.c.
*/
-void request_resize (int, int);
+void request_resize (int, int, int);
void do_text (Context, int, int, char *, int, unsigned long);
void set_title (char *);
void set_icon (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;
void term_deselect (void);
void term_update (void);
void term_invalidate(void);
+void term_blink(int set_cursor);
/*
* Exports from raw.c.
unsigned char xlat_latkbd2win(unsigned char c);
/*
+ * Exports from mscrypto.c
+ */
+#ifdef MSCRYPTOAPI
+int crypto_startup();
+void crypto_wrapup();
+#endif
+
+/*
* A debug system.
*/
#ifdef DEBUG