version 1.70, 2002/06/24 14:33:27 |
version 1.70.6.2, 2004/08/19 22:37:31 |
|
|
int wfd; /* write fd */ |
int wfd; /* write fd */ |
int efd; /* extended fd */ |
int efd; /* extended fd */ |
int sock; /* sock fd */ |
int sock; /* sock fd */ |
|
int ctl_fd; /* control fd (client sharing) */ |
int isatty; /* rfd is a tty */ |
int isatty; /* rfd is a tty */ |
int force_drain; /* force close on iEOF */ |
int force_drain; /* force close on iEOF */ |
int delayed; /* fdset hack */ |
int delayed; /* fdset hack */ |
|
|
/* callback */ |
/* callback */ |
channel_callback_fn *confirm; |
channel_callback_fn *confirm; |
channel_callback_fn *detach_user; |
channel_callback_fn *detach_user; |
|
void *confirm_ctx; |
|
|
/* filter */ |
/* filter */ |
channel_filter_fn *input_filter; |
channel_filter_fn *input_filter; |
|
|
void channel_send_open(int); |
void channel_send_open(int); |
void channel_request_start(int, char *, int); |
void channel_request_start(int, char *, int); |
void channel_register_cleanup(int, channel_callback_fn *); |
void channel_register_cleanup(int, channel_callback_fn *); |
void channel_register_confirm(int, channel_callback_fn *); |
void channel_register_confirm(int, channel_callback_fn *, void *); |
void channel_register_filter(int, channel_filter_fn *); |
void channel_register_filter(int, channel_filter_fn *); |
void channel_cancel_cleanup(int); |
void channel_cancel_cleanup(int); |
int channel_close_fd(int *); |
int channel_close_fd(int *); |
|
void channel_send_window_changes(void); |
|
|
/* protocol handler */ |
/* protocol handler */ |
|
|
|
|
|
|
/* file descriptor handling (read/write) */ |
/* file descriptor handling (read/write) */ |
|
|
void channel_prepare_select(fd_set **, fd_set **, int *, int*, int); |
void channel_prepare_select(fd_set **, fd_set **, int *, u_int*, int); |
void channel_after_select(fd_set *, fd_set *); |
void channel_after_select(fd_set *, fd_set *); |
void channel_output_poll(void); |
void channel_output_poll(void); |
|
|
|
|
int channel_connect_to(const char *, u_short); |
int channel_connect_to(const char *, u_short); |
int channel_connect_by_listen_address(u_short); |
int channel_connect_by_listen_address(u_short); |
void channel_request_remote_forwarding(u_short, const char *, u_short); |
void channel_request_remote_forwarding(u_short, const char *, u_short); |
|
void channel_request_rforward_cancel(u_short port); |
int channel_setup_local_fwd_listener(u_short, const char *, u_short, int); |
int channel_setup_local_fwd_listener(u_short, const char *, u_short, int); |
int channel_setup_remote_fwd_listener(const char *, u_short, int); |
int channel_setup_remote_fwd_listener(const char *, u_short, int); |
|
int channel_cancel_rport_listener(const char *, u_short); |
|
|
/* x11 forwarding */ |
/* x11 forwarding */ |
|
|
|
|
/* agent forwarding */ |
/* agent forwarding */ |
|
|
void auth_request_forwarding(void); |
void auth_request_forwarding(void); |
void auth_input_open_request(int, u_int32_t, void *); |
|
|
|
/* channel close */ |
/* channel close */ |
|
|