summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/sshconnect.c
diff options
context:
space:
mode:
authorratchov <ratchov@openbsd.org>2021-03-03 10:00:27 +0000
committerratchov <ratchov@openbsd.org>2021-03-03 10:00:27 +0000
commit9958002099ab280e77824dedb8f85e7144901bcf (patch)
tree8efc8bf35e876bf3caf8ef40606b0a15e038a20f /usr.bin/ssh/sshconnect.c
parentsndioctl: Flush stdout before polling (diff)
downloadwireguard-openbsd-9958002099ab280e77824dedb8f85e7144901bcf.tar.xz
wireguard-openbsd-9958002099ab280e77824dedb8f85e7144901bcf.zip
sndiod: Move controls out of the device structure
Moving to a global server-wide controls list is necessary to expose controls that are not associated to a particular device (ex. a device selector). The current hack to use the device-side sioctl_desc->addr variable as client-side key can't work anymore. So, we use a unique dynamically allocated ctl->addr key; this is much cleaner. A new "scope" enum (with two "void *" arguments) is used to determine what the control does control. This adds flexibility and allows to easily add new control types that are not associated to devices. No behavior change.
Diffstat (limited to 'usr.bin/ssh/sshconnect.c')
0 files changed, 0 insertions, 0 deletions