~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix a slightly picky compiler warning
[sgt/putty]
/
putty.h
diff --git
a/putty.h
b/putty.h
index
e5744ea
..
c2d6362
100644
(file)
--- a/
putty.h
+++ b/
putty.h
@@
-92,6
+92,12
@@
typedef struct {
GLOBAL Backend *back;
typedef struct {
GLOBAL Backend *back;
typedef struct {
+ void (*send) (char *buf, int len);
+} Ldisc;
+
+GLOBAL Ldisc *ldisc;
+
+typedef struct {
/* Basic options */
char host[512];
int port;
/* Basic options */
char host[512];
int port;
@@
-117,6
+123,7
@@
typedef struct {
int nethack_keypad;
int alt_f4; /* is it special? */
int alt_space; /* is it special? */
int nethack_keypad;
int alt_f4; /* is it special? */
int alt_space; /* is it special? */
+ int ldisc_term;
/* Terminal options */
int savelines;
int dec_om;
/* Terminal options */
int savelines;
int dec_om;
@@
-156,6
+163,8
@@
GLOBAL Config cfg;
GLOBAL int default_protocol;
GLOBAL int default_port;
GLOBAL int default_protocol;
GLOBAL int default_port;
+struct RSAKey; /* be a little careful of scope */
+
/*
* Exports from window.c.
*/
/*
* Exports from window.c.
*/
@@
-218,7
+227,7
@@
void term_invalidate(void);
* Exports from raw.c.
*/
* Exports from raw.c.
*/
-Backend raw_backend;
+
extern
Backend raw_backend;
/*
* Exports from telnet.c.
/*
* Exports from telnet.c.
@@
-233,6
+242,12
@@
extern Backend telnet_backend;
extern Backend ssh_backend;
/*
extern Backend ssh_backend;
/*
+ * Exports from ldisc.c.
+ */
+
+extern Ldisc ldisc_term, ldisc_simple;
+
+/*
* Exports from sshrand.c.
*/
* Exports from sshrand.c.
*/