summaryrefslogtreecommitdiff
path: root/channels.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-03-31 23:11:44 +1100
committerDamien Miller <djm@mindrot.org>2006-03-31 23:11:44 +1100
commitd79b424e8ad424a44119f327e5ab1f79cd35649c (patch)
treea1060285a79153edcde7def2f3ae19fd003379fb /channels.c
parent89c3fe4a9e937338a235976a11c5411d33309460 (diff)
- djm@cvs.openbsd.org 2006/03/30 09:41:25
[channels.c] ARGSUSED for dispatch table-driven functions
Diffstat (limited to 'channels.c')
-rw-r--r--channels.c13
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 */
1948void 1950void
1949channel_input_data(int type, u_int32_t seq, void *ctxt) 1951channel_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 */
2007void 2010void
2008channel_input_extended_data(int type, u_int32_t seq, void *ctxt) 2011channel_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 */
2053void 2057void
2054channel_input_ieof(int type, u_int32_t seq, void *ctxt) 2058channel_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 */
2076void 2081void
2077channel_input_close(int type, u_int32_t seq, void *ctxt) 2082channel_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 */
2114void 2120void
2115channel_input_oclose(int type, u_int32_t seq, void *ctxt) 2121channel_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 */
2126void 2133void
2127channel_input_close_confirmation(int type, u_int32_t seq, void *ctxt) 2134channel_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 */
2142void 2150void
2143channel_input_open_confirmation(int type, u_int32_t seq, void *ctxt) 2151channel_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 */
2189void 2198void
2190channel_input_open_failure(int type, u_int32_t seq, void *ctxt) 2199channel_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 */
2220void 2230void
2221channel_input_window_adjust(int type, u_int32_t seq, void *ctxt) 2231channel_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 */
2244void 2255void
2245channel_input_port_open(int type, u_int32_t seq, void *ctxt) 2256channel_input_port_open(int type, u_int32_t seq, void *ctxt)
2246{ 2257{