=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/channels.h,v retrieving revision 1.22.2.6 retrieving revision 1.22.2.7 diff -u -r1.22.2.6 -r1.22.2.7 --- src/usr.bin/ssh/channels.h 2001/09/27 00:15:41 1.22.2.6 +++ src/usr.bin/ssh/channels.h 2001/11/15 00:14:59 1.22.2.7 @@ -32,7 +32,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -/* RCSID("$OpenBSD: channels.h,v 1.22.2.6 2001/09/27 00:15:41 miod Exp $"); */ +/* RCSID("$OpenBSD: channels.h,v 1.22.2.7 2001/11/15 00:14:59 miod Exp $"); */ #ifndef CHANNEL_H #define CHANNEL_H @@ -68,7 +68,6 @@ int type; /* channel type/state */ int self; /* my own channel identifier */ int remote_id; /* channel identifier for remote peer */ - /* peer can be reached over encrypted connection, via packet-sent */ int istate; /* input from channel (state of receive half) */ int ostate; /* output to channel (state of transmit half) */ int flags; /* close sent/rcvd */ @@ -77,7 +76,8 @@ int efd; /* extended fd */ int sock; /* sock fd */ int isatty; /* rfd is a tty */ - int force_drain; /* force close on iEOF */ + int force_drain; /* force close on iEOF */ + int delayed; /* fdset hack */ Buffer input; /* data read from socket, to be sent over * encrypted connection */ Buffer output; /* data received over encrypted connection for @@ -143,7 +143,6 @@ void channel_set_fds(int, int, int, int, int, int); void channel_free(Channel *); void channel_free_all(void); -void channel_detach_all(void); void channel_stop_listening(void); void channel_send_open(int); @@ -177,12 +176,12 @@ int channel_not_very_much_buffered_data(void); void channel_close_all(void); -void channel_free_all(void); int channel_still_open(void); char *channel_open_message(void); int channel_find_open(void); -/* channel_tcpfwd.c */ +/* tcp forwarding */ +void channel_set_af(int af); void channel_permit_all_opens(void); void channel_add_permitted_opens(char *, int); void channel_clear_permitted_opens(void); @@ -215,7 +214,7 @@ /* channel close */ -int chan_is_dead(Channel *); +int chan_is_dead(Channel *, int); void chan_mark_dead(Channel *); void chan_init_iostates(Channel *); void chan_init(void);