diff options
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 */ |