version 1.24, 2000/12/05 20:34:10 |
version 1.25, 2001/01/29 16:55:36 |
|
|
/* Free the channel and close its socket. */ |
/* Free the channel and close its socket. */ |
void channel_free(int channel); |
void channel_free(int channel); |
|
|
/* Add any bits relevant to channels in select bitmasks. */ |
/* |
void channel_prepare_select(fd_set * readset, fd_set * writeset); |
* Allocate/update select bitmasks and add any bits relevant to channels in |
|
* select bitmasks. |
|
*/ |
|
void |
|
channel_prepare_select(fd_set **readsetp, fd_set **writesetp, int *maxfdp); |
|
|
/* |
/* |
* After select, perform any appropriate operations for channels which have |
* After select, perform any appropriate operations for channels which have |
|
|
* descriptors after a fork. |
* descriptors after a fork. |
*/ |
*/ |
void channel_close_all(void); |
void channel_close_all(void); |
|
|
/* Returns the maximum file descriptor number used by the channels. */ |
|
int channel_max_fd(void); |
|
|
|
/* Returns true if there is still an open channel over the connection. */ |
/* Returns true if there is still an open channel over the connection. */ |
int channel_still_open(void); |
int channel_still_open(void); |