comparison channel.h @ 242:3311f4aa52cb

merge of da30137eaac417f50a323f9ddd29999ec21261e0 and fb45ddf51e20f0ff007eb8abc737de3c024f45cc
author Matt Johnston <matt@ucc.asn.au>
date Mon, 05 Sep 2005 15:16:52 +0000
parents 581f81e8c50c
children 0056419cf0f4
comparison
equal deleted inserted replaced
241:c5d3ef11155f 242:3311f4aa52cb
94 void (*reqhandler)(struct Channel*); 94 void (*reqhandler)(struct Channel*);
95 void (*closehandler)(struct Channel*); 95 void (*closehandler)(struct Channel*);
96 96
97 }; 97 };
98 98
99 void chaninitialise(); 99 void chaninitialise(const struct ChanType *chantypes[]);
100 void chancleanup(); 100 void chancleanup();
101 void setchannelfds(fd_set *readfd, fd_set *writefd); 101 void setchannelfds(fd_set *readfd, fd_set *writefd);
102 void channelio(fd_set *readfd, fd_set *writefd); 102 void channelio(fd_set *readfd, fd_set *writefd);
103 struct Channel* getchannel(); 103 struct Channel* getchannel();
104 struct Channel* newchannel(unsigned int remotechan, 104 struct Channel* newchannel(unsigned int remotechan,