mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-22 14:39:24 -05:00
New backend bitfield flags.
This commit is contained in:
parent
a8bb6456d1
commit
269bd7e309
1
putty.h
1
putty.h
@ -521,6 +521,7 @@ struct BackendVtable {
|
|||||||
|
|
||||||
int protocol;
|
int protocol;
|
||||||
int default_port;
|
int default_port;
|
||||||
|
unsigned flags;
|
||||||
};
|
};
|
||||||
|
|
||||||
static inline const char *backend_init(
|
static inline const char *backend_init(
|
||||||
|
1
raw.c
1
raw.c
@ -326,5 +326,6 @@ const struct BackendVtable raw_backend = {
|
|||||||
NULL /* test_for_upstream */,
|
NULL /* test_for_upstream */,
|
||||||
"raw", "Raw",
|
"raw", "Raw",
|
||||||
PROT_RAW,
|
PROT_RAW,
|
||||||
|
0,
|
||||||
0
|
0
|
||||||
};
|
};
|
||||||
|
3
rlogin.c
3
rlogin.c
@ -424,5 +424,6 @@ const struct BackendVtable rlogin_backend = {
|
|||||||
NULL /* test_for_upstream */,
|
NULL /* test_for_upstream */,
|
||||||
"rlogin", "Rlogin",
|
"rlogin", "Rlogin",
|
||||||
PROT_RLOGIN,
|
PROT_RLOGIN,
|
||||||
513
|
513,
|
||||||
|
0
|
||||||
};
|
};
|
||||||
|
3
ssh.c
3
ssh.c
@ -1199,7 +1199,8 @@ const struct BackendVtable ssh_backend = {
|
|||||||
ssh_test_for_upstream,
|
ssh_test_for_upstream,
|
||||||
"ssh", "SSH",
|
"ssh", "SSH",
|
||||||
PROT_SSH,
|
PROT_SSH,
|
||||||
22
|
22,
|
||||||
|
0
|
||||||
};
|
};
|
||||||
|
|
||||||
const struct BackendVtable sshconn_backend = {
|
const struct BackendVtable sshconn_backend = {
|
||||||
|
3
telnet.c
3
telnet.c
@ -1066,5 +1066,6 @@ const struct BackendVtable telnet_backend = {
|
|||||||
NULL /* test_for_upstream */,
|
NULL /* test_for_upstream */,
|
||||||
"telnet", "Telnet",
|
"telnet", "Telnet",
|
||||||
PROT_TELNET,
|
PROT_TELNET,
|
||||||
23
|
23,
|
||||||
|
0
|
||||||
};
|
};
|
||||||
|
@ -59,14 +59,14 @@ const struct BackendVtable null_backend = {
|
|||||||
null_init, null_free, null_reconfig, null_send, null_sendbuffer, null_size,
|
null_init, null_free, null_reconfig, null_send, null_sendbuffer, null_size,
|
||||||
null_special, null_get_specials, null_connected, null_exitcode, null_sendok,
|
null_special, null_get_specials, null_connected, null_exitcode, null_sendok,
|
||||||
null_ldisc, null_provide_ldisc, null_unthrottle,
|
null_ldisc, null_provide_ldisc, null_unthrottle,
|
||||||
null_cfg_info, NULL /* test_for_upstream */, "null", "null", -1, 0
|
null_cfg_info, NULL /* test_for_upstream */, "null", "null", -1, 0, 0
|
||||||
};
|
};
|
||||||
|
|
||||||
const struct BackendVtable loop_backend = {
|
const struct BackendVtable loop_backend = {
|
||||||
loop_init, loop_free, null_reconfig, loop_send, null_sendbuffer, null_size,
|
loop_init, loop_free, null_reconfig, loop_send, null_sendbuffer, null_size,
|
||||||
null_special, null_get_specials, null_connected, null_exitcode, null_sendok,
|
null_special, null_get_specials, null_connected, null_exitcode, null_sendok,
|
||||||
null_ldisc, null_provide_ldisc, null_unthrottle,
|
null_ldisc, null_provide_ldisc, null_unthrottle,
|
||||||
null_cfg_info, NULL /* test_for_upstream */, "loop", "loop", -1, 0
|
null_cfg_info, NULL /* test_for_upstream */, "loop", "loop", -1, 0, 0
|
||||||
};
|
};
|
||||||
|
|
||||||
struct loop_state {
|
struct loop_state {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user