diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2009-09-17 07:26:17 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2009-09-17 07:26:17 +0000 |
commit | 71f191b2a609e291a3afcf726ab8aacab572637b (patch) | |
tree | fa744ee9944df82548c6afb33451455c4ce7c61a /libsylph/socket.h | |
parent | 24c2edfeacce97b6e4c3783c53cbd2532088af95 (diff) |
introduced multi-threading.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2255 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/socket.h')
-rw-r--r-- | libsylph/socket.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libsylph/socket.h b/libsylph/socket.h index 5bf8b98f..0ddf0374 100644 --- a/libsylph/socket.h +++ b/libsylph/socket.h @@ -103,6 +103,9 @@ SockInfo *sock_connect (const gchar *hostname, gushort port); gint sock_connect_async (const gchar *hostname, gushort port, SockConnectFunc func, gpointer data); gint sock_connect_async_cancel (gint id); +#else +gint sock_connect_async (const gchar *hostname, gushort port); +gint sock_connect_async_wait (gint id, SockInfo **sock); #endif /* Basic I/O functions */ |