summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/channels.h
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2002-01-14 13:55:56 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2002-01-14 13:55:56 +0000
commit112cb29f3500ad10958d5ec8d2a2907aa12052df (patch)
tree55d2b306b14d72e350265c36e3def882229d024c /usr.bin/ssh/channels.h
parent3f6ad62906d02eda500e2b2c5e397a5c23f70288 (diff)
remove function pointers for events, remove chan_init*; ok provos@
Diffstat (limited to 'usr.bin/ssh/channels.h')
-rw-r--r--usr.bin/ssh/channels.h20
1 files changed, 8 insertions, 12 deletions
diff --git a/usr.bin/ssh/channels.h b/usr.bin/ssh/channels.h
index a857db11ede..9f97488b2c3 100644
--- a/usr.bin/ssh/channels.h
+++ b/usr.bin/ssh/channels.h
@@ -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.57 2002/01/13 21:31:20 markus Exp $"); */
+/* RCSID("$OpenBSD: channels.h,v 1.58 2002/01/14 13:55:55 markus Exp $"); */
#ifndef CHANNEL_H
#define CHANNEL_H
@@ -215,19 +215,15 @@ void auth_input_open_request(int, u_int32_t, void *);
int chan_is_dead(Channel *, int);
void chan_mark_dead(Channel *);
-void chan_init_iostates(Channel *);
-void chan_init(void);
-typedef void chan_event_fn(Channel *);
+/* channel events */
-/* for the input state */
-extern chan_event_fn *chan_rcvd_oclose;
-extern chan_event_fn *chan_read_failed;
-extern chan_event_fn *chan_ibuf_empty;
+void chan_rcvd_oclose(Channel *);
+void chan_read_failed(Channel *);
+void chan_ibuf_empty(Channel *);
-/* for the output state */
-extern chan_event_fn *chan_rcvd_ieof;
-extern chan_event_fn *chan_write_failed;
-extern chan_event_fn *chan_obuf_empty;
+void chan_rcvd_ieof(Channel *);
+void chan_write_failed(Channel *);
+void chan_obuf_empty(Channel *);
#endif