diff options
author | djm@openbsd.org <djm@openbsd.org> | 2023-09-04 02:01:46 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2023-09-04 02:09:53 +0200 |
commit | ccf7d913db34e49b7a6db1b8331bd402004c840d (patch) | |
tree | c3d9e34c513d590d7543de73cfa0289554d29b10 /channels.h | |
parent | upstream: set interactive mode for ControlPersist sessions if they (diff) | |
download | openssh-ccf7d913db34e49b7a6db1b8331bd402004c840d.tar.xz openssh-ccf7d913db34e49b7a6db1b8331bd402004c840d.zip |
upstream: make channel_output_poll() return a flag indicating
whether channel data was enqueued. Will be used to improve keystroke timing
obfuscation. Problem spotted by / tested by naddy@
OpenBSD-Commit-ID: f9776c7b0065ba7c3bbe50431fd3b629f44314d0
Diffstat (limited to 'channels.h')
-rw-r--r-- | channels.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/channels.h b/channels.h index 7afba7837..58019a84e 100644 --- a/channels.h +++ b/channels.h @@ -1,4 +1,4 @@ -/* $OpenBSD: channels.h,v 1.151 2023/07/04 03:59:21 dlg Exp $ */ +/* $OpenBSD: channels.h,v 1.152 2023/09/04 00:01:46 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -335,7 +335,7 @@ struct timespec; void channel_prepare_poll(struct ssh *, struct pollfd **, u_int *, u_int *, u_int, struct timespec *); void channel_after_poll(struct ssh *, struct pollfd *, u_int); -void channel_output_poll(struct ssh *); +int channel_output_poll(struct ssh *); int channel_not_very_much_buffered_data(struct ssh *); void channel_close_all(struct ssh *); |