X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;ds=sidebyside;f=gnio%2Fgsocket.h;h=e1eca71b8ae0f4962e5fd025cf8a940dac027c6c;hb=c69e0ebc3a9e13b4af030a19b117175f881f2b3c;hp=5aa704087d62d55d867dc90a9c8e50ba25249a5b;hpb=1c031c7647fc229c3be8fc40a4153aa47d3aea6b;p=cascardo%2Fgnio.git diff --git a/gnio/gsocket.h b/gnio/gsocket.h index 5aa7040..e1eca71 100644 --- a/gnio/gsocket.h +++ b/gnio/gsocket.h @@ -73,8 +73,7 @@ GType g_socket_get_type (void) G_GNUC_CONST; GSocket * g_socket_new (GSocketDomain domain, GSocketType type, - const gchar *protocol, - GError **error); + const gchar *protocol); GSocket * g_socket_new_from_fd (gint fd); @@ -92,6 +91,9 @@ void g_socket_set_reuse_address (GSocket *socket, gboolean g_socket_get_reuse_address (GSocket *socket); +gboolean g_socket_has_error (GSocket *socket, + GError **error); + gboolean g_socket_bind (GSocket *socket, GSocketAddress *address, GError **error);