aboutsummaryrefslogtreecommitdiff
path: root/libsylph/socket.h
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-02-14 08:39:10 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-02-14 08:39:10 +0000
commitd43aa2e692e5689cbd54a4398df51e1f51db3cb9 (patch)
tree69398a9a7e2f60a4e0f3fdbf6f71a494ecf0b5e8 /libsylph/socket.h
parent0162a14d3bf701fea6b0ff4a2b83e94f5d6b29da (diff)
win32: avoid blocking when reading from socket.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1001 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/socket.h')
-rw-r--r--libsylph/socket.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libsylph/socket.h b/libsylph/socket.h
index 5f627c67..c3b773ef 100644
--- a/libsylph/socket.h
+++ b/libsylph/socket.h
@@ -75,6 +75,8 @@ gint sock_set_io_timeout (guint sec);
gint sock_set_nonblocking_mode (SockInfo *sock, gboolean nonblock);
gboolean sock_is_nonblocking_mode (SockInfo *sock);
+gboolean sock_has_read_data (SockInfo *sock);
+
guint sock_add_watch (SockInfo *sock, GIOCondition condition,
SockFunc func, gpointer data);