diff options
author | Matt Johnston <matt@ucc.asn.au> | 2015-03-20 23:36:42 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2015-03-20 23:36:42 +0800 |
commit | 275611fbaaa14824de69bccc68161d5ed195b745 (patch) | |
tree | a41f254aa307fb360efe3a1fe5699a62a35ebbf2 /channel.h | |
parent | a070159cc5ed59df4d79f6d23c9ba87a3f50a7ec (diff) |
Make main socket nonblocking. Limit writequeue size.
Diffstat (limited to 'channel.h')
-rw-r--r-- | channel.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -106,7 +106,7 @@ void channel_connect_done(int result, int sock, void* user_data, const char* err void chaninitialise(const struct ChanType *chantypes[]); void chancleanup(); -void setchannelfds(fd_set *readfd, fd_set *writefd); +void setchannelfds(fd_set *readfds, fd_set *writefds, int allow_reads); void channelio(fd_set *readfd, fd_set *writefd); struct Channel* getchannel(); /* Returns an arbitrary channel that is in a ready state - not |