summaryrefslogtreecommitdiffhomepage
path: root/channel.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2015-03-20 23:36:42 +0800
committerMatt Johnston <matt@ucc.asn.au>2015-03-20 23:36:42 +0800
commit275611fbaaa14824de69bccc68161d5ed195b745 (patch)
treea41f254aa307fb360efe3a1fe5699a62a35ebbf2 /channel.h
parenta070159cc5ed59df4d79f6d23c9ba87a3f50a7ec (diff)
Make main socket nonblocking. Limit writequeue size.
Diffstat (limited to 'channel.h')
-rw-r--r--channel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/channel.h b/channel.h
index 99b1b42..d16cb03 100644
--- a/channel.h
+++ b/channel.h
@@ -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