gsocket: add g_socket_condition_timed_wait()

https://bugzilla.gnome.org/show_bug.cgi?id=667755
This commit is contained in:
Dan Winship
2012-02-13 17:20:04 -05:00
parent 823f553e36
commit 726257ab97
5 changed files with 136 additions and 15 deletions

View File

@@ -145,6 +145,11 @@ gboolean g_socket_condition_wait (GSocket
GIOCondition condition,
GCancellable *cancellable,
GError **error);
gboolean g_socket_condition_timed_wait (GSocket *socket,
GIOCondition condition,
gint64 timeout,
GCancellable *cancellable,
GError **error);
GSocket * g_socket_accept (GSocket *socket,
GCancellable *cancellable,
GError **error);