diff options
author | Matt Johnston <matt@ucc.asn.au> | 2004-06-02 04:59:49 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2004-06-02 04:59:49 +0000 |
commit | 513f947d62351e5af77676e20740232d753cd5b1 (patch) | |
tree | ab192e9de5cff39eaffe5b01eeb96d7a283826d1 /channel.h | |
parent | 615226304502fa609213917042bffce8c4c83241 (diff) |
Chantype handling is sorted
--HG--
extra : convert_revision : 807efead6ecf690f147fd8145aa9d78ff894cdb2
Diffstat (limited to 'channel.h')
-rw-r--r-- | channel.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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(); |