diff options
Diffstat (limited to 'channels.h')
-rw-r--r-- | channels.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/channels.h b/channels.h index c0d60199c..a74f59261 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.19 2000/09/07 21:13:37 markus Exp $"); */ | 35 | /* RCSID("$OpenBSD: channels.h,v 1.20 2000/09/21 11:25:33 markus Exp $"); */ |
36 | 36 | ||
37 | #ifndef CHANNELS_H | 37 | #ifndef CHANNELS_H |
38 | #define CHANNELS_H | 38 | #define CHANNELS_H |
@@ -131,18 +131,18 @@ int | |||
131 | channel_new(char *ctype, int type, int rfd, int wfd, int efd, | 131 | channel_new(char *ctype, int type, int rfd, int wfd, int efd, |
132 | int window, int maxpack, int extended_usage, char *remote_name); | 132 | int window, int maxpack, int extended_usage, char *remote_name); |
133 | 133 | ||
134 | void channel_input_channel_request(int type, int plen); | 134 | void channel_input_channel_request(int type, int plen, void *ctxt); |
135 | void channel_input_close(int type, int plen); | 135 | void channel_input_close(int type, int plen, void *ctxt); |
136 | void channel_input_close_confirmation(int type, int plen); | 136 | void channel_input_close_confirmation(int type, int plen, void *ctxt); |
137 | void channel_input_data(int type, int plen); | 137 | void channel_input_data(int type, int plen, void *ctxt); |
138 | void channel_input_extended_data(int type, int plen); | 138 | void channel_input_extended_data(int type, int plen, void *ctxt); |
139 | void channel_input_ieof(int type, int plen); | 139 | void channel_input_ieof(int type, int plen, void *ctxt); |
140 | void channel_input_oclose(int type, int plen); | 140 | void channel_input_oclose(int type, int plen, void *ctxt); |
141 | void channel_input_open_confirmation(int type, int plen); | 141 | void channel_input_open_confirmation(int type, int plen, void *ctxt); |
142 | void channel_input_open_failure(int type, int plen); | 142 | void channel_input_open_failure(int type, int plen, void *ctxt); |
143 | void channel_input_port_open(int type, int plen); | 143 | void channel_input_port_open(int type, int plen, void *ctxt); |
144 | void channel_input_window_adjust(int type, int plen); | 144 | void channel_input_window_adjust(int type, int plen, void *ctxt); |
145 | void channel_input_open(int type, int plen); | 145 | void channel_input_open(int type, int plen, void *ctxt); |
146 | 146 | ||
147 | /* Sets specific protocol options. */ | 147 | /* Sets specific protocol options. */ |
148 | void channel_set_options(int hostname_in_open); | 148 | void channel_set_options(int hostname_in_open); |
@@ -246,7 +246,7 @@ char *x11_create_display_inet(int screen, int x11_display_offset); | |||
246 | * the remote channel number. We should do whatever we want, and respond | 246 | * the remote channel number. We should do whatever we want, and respond |
247 | * with either SSH_MSG_OPEN_CONFIRMATION or SSH_MSG_OPEN_FAILURE. | 247 | * with either SSH_MSG_OPEN_CONFIRMATION or SSH_MSG_OPEN_FAILURE. |
248 | */ | 248 | */ |
249 | void x11_input_open(int type, int plen); | 249 | void x11_input_open(int type, int plen, void *ctxt); |
250 | 250 | ||
251 | /* | 251 | /* |
252 | * Requests forwarding of X11 connections. This should be called on the | 252 | * Requests forwarding of X11 connections. This should be called on the |
@@ -279,7 +279,7 @@ char *auth_get_socket_name(void); | |||
279 | int auth_input_request_forwarding(struct passwd * pw); | 279 | int auth_input_request_forwarding(struct passwd * pw); |
280 | 280 | ||
281 | /* This is called to process an SSH_SMSG_AGENT_OPEN message. */ | 281 | /* This is called to process an SSH_SMSG_AGENT_OPEN message. */ |
282 | void auth_input_open_request(int type, int plen); | 282 | void auth_input_open_request(int type, int plen, void *ctxt); |
283 | 283 | ||
284 | /* XXX */ | 284 | /* XXX */ |
285 | int channel_connect_to(const char *host, u_short host_port); | 285 | int channel_connect_to(const char *host, u_short host_port); |