diff options
Diffstat (limited to 'channels.c')
-rw-r--r-- | channels.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/channels.c b/channels.c index 248addedf..fccb9098e 100644 --- a/channels.c +++ b/channels.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: channels.c,v 1.248 2006/03/28 01:52:28 deraadt Exp $ */ | 1 | /* $OpenBSD: channels.c,v 1.249 2006/03/30 09:41:25 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -1945,6 +1945,8 @@ channel_output_poll(void) | |||
1945 | 1945 | ||
1946 | 1946 | ||
1947 | /* -- protocol input */ | 1947 | /* -- protocol input */ |
1948 | |||
1949 | /* ARGSUSED */ | ||
1948 | void | 1950 | void |
1949 | channel_input_data(int type, u_int32_t seq, void *ctxt) | 1951 | channel_input_data(int type, u_int32_t seq, void *ctxt) |
1950 | { | 1952 | { |
@@ -2004,6 +2006,7 @@ channel_input_data(int type, u_int32_t seq, void *ctxt) | |||
2004 | xfree(data); | 2006 | xfree(data); |
2005 | } | 2007 | } |
2006 | 2008 | ||
2009 | /* ARGSUSED */ | ||
2007 | void | 2010 | void |
2008 | channel_input_extended_data(int type, u_int32_t seq, void *ctxt) | 2011 | channel_input_extended_data(int type, u_int32_t seq, void *ctxt) |
2009 | { | 2012 | { |
@@ -2050,6 +2053,7 @@ channel_input_extended_data(int type, u_int32_t seq, void *ctxt) | |||
2050 | xfree(data); | 2053 | xfree(data); |
2051 | } | 2054 | } |
2052 | 2055 | ||
2056 | /* ARGSUSED */ | ||
2053 | void | 2057 | void |
2054 | channel_input_ieof(int type, u_int32_t seq, void *ctxt) | 2058 | channel_input_ieof(int type, u_int32_t seq, void *ctxt) |
2055 | { | 2059 | { |
@@ -2073,6 +2077,7 @@ channel_input_ieof(int type, u_int32_t seq, void *ctxt) | |||
2073 | 2077 | ||
2074 | } | 2078 | } |
2075 | 2079 | ||
2080 | /* ARGSUSED */ | ||
2076 | void | 2081 | void |
2077 | channel_input_close(int type, u_int32_t seq, void *ctxt) | 2082 | channel_input_close(int type, u_int32_t seq, void *ctxt) |
2078 | { | 2083 | { |
@@ -2111,6 +2116,7 @@ channel_input_close(int type, u_int32_t seq, void *ctxt) | |||
2111 | } | 2116 | } |
2112 | 2117 | ||
2113 | /* proto version 1.5 overloads CLOSE_CONFIRMATION with OCLOSE */ | 2118 | /* proto version 1.5 overloads CLOSE_CONFIRMATION with OCLOSE */ |
2119 | /* ARGSUSED */ | ||
2114 | void | 2120 | void |
2115 | channel_input_oclose(int type, u_int32_t seq, void *ctxt) | 2121 | channel_input_oclose(int type, u_int32_t seq, void *ctxt) |
2116 | { | 2122 | { |
@@ -2123,6 +2129,7 @@ channel_input_oclose(int type, u_int32_t seq, void *ctxt) | |||
2123 | chan_rcvd_oclose(c); | 2129 | chan_rcvd_oclose(c); |
2124 | } | 2130 | } |
2125 | 2131 | ||
2132 | /* ARGSUSED */ | ||
2126 | void | 2133 | void |
2127 | channel_input_close_confirmation(int type, u_int32_t seq, void *ctxt) | 2134 | channel_input_close_confirmation(int type, u_int32_t seq, void *ctxt) |
2128 | { | 2135 | { |
@@ -2139,6 +2146,7 @@ channel_input_close_confirmation(int type, u_int32_t seq, void *ctxt) | |||
2139 | channel_free(c); | 2146 | channel_free(c); |
2140 | } | 2147 | } |
2141 | 2148 | ||
2149 | /* ARGSUSED */ | ||
2142 | void | 2150 | void |
2143 | channel_input_open_confirmation(int type, u_int32_t seq, void *ctxt) | 2151 | channel_input_open_confirmation(int type, u_int32_t seq, void *ctxt) |
2144 | { | 2152 | { |
@@ -2186,6 +2194,7 @@ reason2txt(int reason) | |||
2186 | return "unknown reason"; | 2194 | return "unknown reason"; |
2187 | } | 2195 | } |
2188 | 2196 | ||
2197 | /* ARGSUSED */ | ||
2189 | void | 2198 | void |
2190 | channel_input_open_failure(int type, u_int32_t seq, void *ctxt) | 2199 | channel_input_open_failure(int type, u_int32_t seq, void *ctxt) |
2191 | { | 2200 | { |
@@ -2217,6 +2226,7 @@ channel_input_open_failure(int type, u_int32_t seq, void *ctxt) | |||
2217 | channel_free(c); | 2226 | channel_free(c); |
2218 | } | 2227 | } |
2219 | 2228 | ||
2229 | /* ARGSUSED */ | ||
2220 | void | 2230 | void |
2221 | channel_input_window_adjust(int type, u_int32_t seq, void *ctxt) | 2231 | channel_input_window_adjust(int type, u_int32_t seq, void *ctxt) |
2222 | { | 2232 | { |
@@ -2241,6 +2251,7 @@ channel_input_window_adjust(int type, u_int32_t seq, void *ctxt) | |||
2241 | c->remote_window += adjust; | 2251 | c->remote_window += adjust; |
2242 | } | 2252 | } |
2243 | 2253 | ||
2254 | /* ARGSUSED */ | ||
2244 | void | 2255 | void |
2245 | channel_input_port_open(int type, u_int32_t seq, void *ctxt) | 2256 | channel_input_port_open(int type, u_int32_t seq, void *ctxt) |
2246 | { | 2257 | { |