#define GLOBAL extern
#endif
+GLOBAL HINSTANCE putty_inst;
+
#define ATTR_ACTCURS 0x80000000UL /* active cursor (block) */
#define ATTR_PASCURS 0x40000000UL /* passive cursor (box) */
#define ATTR_INVALID 0x20000000UL
/* Basic options */
char host[512];
int port;
- enum { PROT_TELNET, PROT_SSH } protocol;
+ enum { PROT_RAW, PROT_TELNET, PROT_SSH } protocol;
int close_on_exit;
+ int warn_on_close;
/* SSH options */
int nopty;
enum { CIPHER_3DES, CIPHER_BLOWFISH, CIPHER_DES } cipher;
void verify_ssh_host_key(char *host, struct RSAKey *key);
void get_sesslist(int allocate);
-int nsessions;
-char **sessions;
+GLOBAL int nsessions;
+GLOBAL char **sessions;
/*
* Exports from terminal.c.
void term_invalidate(void);
/*
+ * Exports from raw.c.
+ */
+
+Backend raw_backend;
+
+/*
* Exports from telnet.c.
*/