TcpClient seems to be working for sync connects, but connect()
[cascardo/gnio.git] / gnio / gtcpclient.h
index e94df73..ff71d73 100644 (file)
@@ -27,9 +27,7 @@
 #include <glib-object.h>
 #include <gio/gio.h>
 
-#include "ginetsocketaddress.h"
-#include "gnetworkinputstream.h"
-#include "gnetworkoutputstream.h"
+#include <gnio/ginetsocketaddress.h>
 
 G_BEGIN_DECLS
 
@@ -63,9 +61,9 @@ GTcpClient *     g_tcp_client_new              (const gchar *hostname,
 
 GTcpClient *     g_tcp_client_new_from_address (GInetSocketAddress *address);
 
-gboolean         g_tcp_client_connect          (GTcpClient      *client,
-                                                GCancellable    *cancellable,
-                                                GError         **error);
+gboolean         g_tcp_client_connect          (GTcpClient    *client,
+                                                GCancellable  *cancellable,
+                                                GError       **error);
 
 void             g_tcp_client_connect_async    (GTcpClient          *client,
                                                 GCancellable        *cancellable,
@@ -81,4 +79,3 @@ void             g_tcp_client_close            (GTcpClient    *client);
 G_END_DECLS
 
 #endif /* G_TCP_CLIENT_H */
-