diff options
author | djm@openbsd.org <djm@openbsd.org> | 2023-09-04 00:01:46 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2023-09-04 10:09:53 +1000 |
commit | ccf7d913db34e49b7a6db1b8331bd402004c840d (patch) | |
tree | c3d9e34c513d590d7543de73cfa0289554d29b10 /channels.h | |
parent | 43254b326ac6e2131dbd750f9464dc62c14bd5a7 (diff) |
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
@@ -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 *); |