diff options
author | djm@openbsd.org <djm@openbsd.org> | 2023-01-06 03:38:23 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2023-01-06 06:21:39 +0100 |
commit | d478cdc7ad6edd4b1bcd1e86fb2f23194ff33d5a (patch) | |
tree | d0af0c8e4bedf3c76a24d02e2508bc7dea48c0bc /channels.h | |
parent | upstream: add ptimeout API for keeping track of poll/ppoll (diff) | |
download | openssh-d478cdc7ad6edd4b1bcd1e86fb2f23194ff33d5a.tar.xz openssh-d478cdc7ad6edd4b1bcd1e86fb2f23194ff33d5a.zip |
upstream: replace manual poll/ppoll timeout math with ptimeout API
feedback markus / ok markus dtucker
OpenBSD-Commit-ID: c5ec4f2d52684cdb788cd9cbc1bcf89464014be2
Diffstat (limited to 'channels.h')
-rw-r--r-- | channels.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/channels.h b/channels.h index 828c1b61b..51a02b224 100644 --- a/channels.h +++ b/channels.h @@ -1,4 +1,4 @@ -/* $OpenBSD: channels.h,v 1.143 2022/05/05 00:56:58 djm Exp $ */ +/* $OpenBSD: channels.h,v 1.144 2023/01/06 02:38:23 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -315,9 +315,10 @@ int channel_input_status_confirm(int, u_int32_t, struct ssh *); /* file descriptor handling (read/write) */ struct pollfd; +struct timespec; void channel_prepare_poll(struct ssh *, struct pollfd **, - u_int *, u_int *, u_int, time_t *); + u_int *, u_int *, u_int, struct timespec *); void channel_after_poll(struct ssh *, struct pollfd *, u_int); void channel_output_poll(struct ssh *); |