projects
/
cascardo
/
gnio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
autotools are dumb, so I'm also adding gnioenumtypes.{c,h}
[cascardo/gnio.git]
/
gnio
/
gsocket.h
diff --git
a/gnio/gsocket.h
b/gnio/gsocket.h
index
5aa7040
..
e1eca71
100644
(file)
--- 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,
GSocket * g_socket_new (GSocketDomain domain,
GSocketType type,
- const gchar *protocol,
- GError **error);
+ const gchar *protocol);
GSocket * g_socket_new_from_fd (gint fd);
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_get_reuse_address (GSocket *socket);
+gboolean g_socket_has_error (GSocket *socket,
+ GError **error);
+
gboolean g_socket_bind (GSocket *socket,
GSocketAddress *address,
GError **error);
gboolean g_socket_bind (GSocket *socket,
GSocketAddress *address,
GError **error);