summaryrefslogtreecommitdiffhomepage
path: root/channel.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2004-06-02 04:59:49 +0000
committerMatt Johnston <matt@ucc.asn.au>2004-06-02 04:59:49 +0000
commit513f947d62351e5af77676e20740232d753cd5b1 (patch)
treeab192e9de5cff39eaffe5b01eeb96d7a283826d1 /channel.h
parent615226304502fa609213917042bffce8c4c83241 (diff)
Chantype handling is sorted
--HG-- extra : convert_revision : 807efead6ecf690f147fd8145aa9d78ff894cdb2
Diffstat (limited to 'channel.h')
-rw-r--r--channel.h5
1 files changed, 3 insertions, 2 deletions
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();