diff options
Diffstat (limited to 'channels.h')
-rw-r--r-- | channels.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/channels.h b/channels.h index 45b783fb3..5e030a44b 100644 --- a/channels.h +++ b/channels.h | |||
@@ -32,7 +32,7 @@ | |||
32 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 32 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
33 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 33 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
34 | */ | 34 | */ |
35 | /* RCSID("$OpenBSD: channels.h,v 1.24 2000/12/05 20:34:10 markus Exp $"); */ | 35 | /* RCSID("$OpenBSD: channels.h,v 1.25 2001/01/29 16:55:36 markus Exp $"); */ |
36 | 36 | ||
37 | #ifndef CHANNELS_H | 37 | #ifndef CHANNELS_H |
38 | #define CHANNELS_H | 38 | #define CHANNELS_H |
@@ -163,8 +163,12 @@ int channel_allocate(int type, int sock, char *remote_name); | |||
163 | /* Free the channel and close its socket. */ | 163 | /* Free the channel and close its socket. */ |
164 | void channel_free(int channel); | 164 | void channel_free(int channel); |
165 | 165 | ||
166 | /* Add any bits relevant to channels in select bitmasks. */ | 166 | /* |
167 | void channel_prepare_select(fd_set * readset, fd_set * writeset); | 167 | * Allocate/update select bitmasks and add any bits relevant to channels in |
168 | * select bitmasks. | ||
169 | */ | ||
170 | void | ||
171 | channel_prepare_select(fd_set **readsetp, fd_set **writesetp, int *maxfdp); | ||
168 | 172 | ||
169 | /* | 173 | /* |
170 | * After select, perform any appropriate operations for channels which have | 174 | * After select, perform any appropriate operations for channels which have |
@@ -188,9 +192,6 @@ void channel_stop_listening(void); | |||
188 | */ | 192 | */ |
189 | void channel_close_all(void); | 193 | void channel_close_all(void); |
190 | 194 | ||
191 | /* Returns the maximum file descriptor number used by the channels. */ | ||
192 | int channel_max_fd(void); | ||
193 | |||
194 | /* Returns true if there is still an open channel over the connection. */ | 195 | /* Returns true if there is still an open channel over the connection. */ |
195 | int channel_still_open(void); | 196 | int channel_still_open(void); |
196 | 197 | ||