projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SSH port forwarding! How cool is that?
[u/mdw/putty]
/
putty.h
diff --git
a/putty.h
b/putty.h
index
cb77ac9
..
f2c9cc6
100644
(file)
--- a/
putty.h
+++ b/
putty.h
@@
-78,7
+78,7
@@
#define ATTR_DEFAULT 0x00980000UL
#define ATTR_DEFFG 0x00080000UL
#define ATTR_DEFBG 0x00900000UL
#define ATTR_DEFAULT 0x00980000UL
#define ATTR_DEFFG 0x00080000UL
#define ATTR_DEFBG 0x00900000UL
-#define ERASE_CHAR (ATTR_DEFAULT | ' ')
+#define ERASE_CHAR (ATTR_DEFAULT |
ATTR_ASCII |
' ')
#define ATTR_MASK 0xFFFFFF00UL
#define CHAR_MASK 0x000000FFUL
#define ATTR_MASK 0xFFFFFF00UL
#define CHAR_MASK 0x000000FFUL
@@
-127,6
+127,7
@@
GLOBAL WCHAR unitab_font[256];
GLOBAL WCHAR unitab_xterm[256];
GLOBAL WCHAR unitab_oemcp[256];
GLOBAL unsigned char unitab_ctrl[256];
GLOBAL WCHAR unitab_xterm[256];
GLOBAL WCHAR unitab_oemcp[256];
GLOBAL unsigned char unitab_ctrl[256];
+#define in_utf (utf || line_codepage==CP_UTF8)
#define LGXF_OVR 1 /* existing logfile overwrite */
#define LGXF_APN 0 /* existing logfile append */
#define LGXF_OVR 1 /* existing logfile overwrite */
#define LGXF_APN 0 /* existing logfile append */
@@
-312,6
+313,9
@@
typedef struct {
/* X11 forwarding */
int x11_forward;
char x11_display[128];
/* X11 forwarding */
int x11_forward;
char x11_display[128];
+ /* port forwarding */
+ int lport_acceptall; /* accepts connection from hosts other than localhost */
+ char portfwd[1024]; /* [LR]localport\thost:port\000[LR]localport\thost:port\000\000 */
} Config;
/*
} Config;
/*