Add channel_set_xtype()
authordjm <djm@openbsd.org>
Fri, 6 Jan 2023 02:42:34 +0000 (02:42 +0000)
committerdjm <djm@openbsd.org>
Fri, 6 Jan 2023 02:42:34 +0000 (02:42 +0000)
commite425622f263d3336f7ab701c8e33efa3b8fb87c1
tree4e5264d0fbeee7fbb4ecc18e3a29466d2381e85b
parentc6fd5a4a9059b26c3dc66cce909350a4d4b3890a
Add channel_set_xtype()

This sets an "extended" channel type after channel creation (e.g.
"session:subsystem:sftp") that will be used for setting channel inactivity
timeouts.

ok markus dtucker
usr.bin/ssh/channels.c
usr.bin/ssh/channels.h
usr.bin/ssh/session.c