summaryrefslogtreecommitdiff
path: root/channels.h
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2023-01-06 02:38:23 +0000
committerDamien Miller <djm@mindrot.org>2023-01-06 16:21:39 +1100
commitd478cdc7ad6edd4b1bcd1e86fb2f23194ff33d5a (patch)
treed0af0c8e4bedf3c76a24d02e2508bc7dea48c0bc /channels.h
parent4adf3817a24efe99b06e62630577d683c7cd8065 (diff)
downloadopenssh-git-d478cdc7ad6edd4b1bcd1e86fb2f23194ff33d5a.tar.gz
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.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/channels.h b/channels.h
index 828c1b61..51a02b22 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 *);