From 513f947d62351e5af77676e20740232d753cd5b1 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Wed, 2 Jun 2004 04:59:49 +0000 Subject: Chantype handling is sorted --HG-- extra : convert_revision : 807efead6ecf690f147fd8145aa9d78ff894cdb2 --- channel.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'channel.h') diff --git a/channel.h b/channel.h index 750a9bb..e033164 100644 --- a/channel.h +++ b/channel.h @@ -81,7 +81,7 @@ struct Channel { int initconn; /* used for TCP forwarding, whether the channel has been fully initialised */ - struct ChanType* type; + const struct ChanType* type; }; @@ -100,7 +100,8 @@ void chaninitialise(); void chancleanup(); void setchannelfds(fd_set *readfd, fd_set *writefd); void channelio(fd_set *readfd, fd_set *writefd); -struct Channel* newchannel(unsigned int remotechan, struct ChanType *type, +struct Channel* newchannel(unsigned int remotechan, + const struct ChanType *type, unsigned int transwindow, unsigned int transmaxpacket); void recv_msg_channel_open(); -- cgit v1.2.3